Search found 4 matches
- Wed Feb 10, 2010 5:05 pm
- Forum: Advanced Help
- Topic: HLSL draw selection(texture) on terrain
- Replies: 6
- Views: 1532
- Tue Feb 09, 2010 4:33 pm
- Forum: Advanced Help
- Topic: HLSL draw selection(texture) on terrain
- Replies: 6
- Views: 1532
- 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 ...
- 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...