Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

set the dark color when using light falloff.

$
0
0

hi there, I'm currently working on a 3d game in processing 3. I am trying to use an ambient light at the camera position and light falloff to fake a fog falloff effect. it's working great except I want to be able to set the color of the "fog" instead of the world just fading off into infinite darkness. I'm not trying to make a horror game just trying to hide object culling. Is there something I'm missing?


Viewing all articles
Browse latest Browse all 2896

Trending Articles