Transparent Layer over Entire screen


I’m making a solar based racegame, and therefore I also need to implement clouds. Now the general idea was to draw a black rectangle over the entire screen with onScreenImage and manually setting the alpha of that image based on the ‘Cloudpercentage’ variable. Does anyone know how to accomplish this? Some help is greatly appreciated :wink:

Thanks in advance,

solar based race game sounds fine. but if you want to dimm the entire scene youcould just manipulate the color/colorscale of your scene’s nodepath.


if thats the effect you’r looking for.