Search found 4 matches

by Saile
Wed Feb 10, 2010 5:05 pm
Forum: Advanced Help
Topic: HLSL draw selection(texture) on terrain
Replies: 6
Views: 1532

Great it works, thanks for the help.
by Saile
Tue Feb 09, 2010 4:33 pm
Forum: Advanced Help
Topic: HLSL draw selection(texture) on terrain
Replies: 6
Views: 1532

Nice it works good if I use a premade texture with alpha. Is it possible to assign alpha to the RenderToTexture, I can't find any solutions.
by Saile
Tue Feb 09, 2010 10:36 am
Forum: Advanced Help
Topic: HLSL draw selection(texture) on terrain
Replies: 6
Views: 1532

I'd like to have it wrap over the terrain. Do the shader make it more high-res or is that dependant on how big my render-to-texture is? however here's the texturesplat pixel shader output: Where do I add the code you mentioned? PS_OUTPUT ps_main(in VS_OUTPUT input) { float texScale = 1.0; PS_OUTPUT ...
by Saile
Mon Feb 08, 2010 8:17 pm
Forum: Advanced Help
Topic: HLSL draw selection(texture) on terrain
Replies: 6
Views: 1532

HLSL draw selection(texture) on terrain

Hello, I'm new to shaders and looking to get my selections(textures) to draw on the terrain. I'm making a RTS game and used to draw selections with the 'render to texture' method, but I implemented a texture splat from an example on this forum and it works great but now I'm stuck on how to get my se...