0
votes
1answer
504 views

How to create a fog effect in XNA with PixelShaderFunction?

I developped a small XNA games in 3D. I would like to add a "fog of war" on my models instantiated with an effect in my (.fx) file. The problem is, I do not know how to change the function ...
-2
votes
1answer
245 views

how to add fog to a model instantiated in Xna? [closed]

I work on a small XNA games. I generate a large map type voxel. a floor of 1000 cubic long by 1000 cubes wide. This is why I use the method "MODEL instancing" with hardware instancing to generate a ...
6
votes
3answers
320 views

How can I modify how my scene is drawn to make it look like it's taking place at different times of day?

My game has a day-time association with the scene, that the morning light will be different from the afternoon and the night. But I don't know how to make this difference. Here is an example in ...