I have made some simple shaders for use in my game, actualy I modified those shaders from the "Introduction to shader programming" by Taco Cohen, and now I added some fog to my level and I noticed that no model that has a shader attached is affected by the fog. The question is simple: How do I implement the fog in the shader?
Thank you
Re: How to implement fog in a hlsl shader?
[Re: Mare]
#213368 06/27/0811:2306/27/0811:23