I've done a TON of research on this, but could never get it working properly!
I decided to use fog to my advantage on my dome.
Here's my code:
Code: Select all
driver->setFog(video::SColor(0,0,0,0), video::EFT_FOG_LINEAR, 500, 600+(server.lightR*1000), 3.f, true, false);This code works!
However, shading the skydome with the darkness leaves a line on the skydome by vertex, and then lightens outward. This is a weird graphical problem, because moving your screen looks like there is a dark line wherever your camera is looking and it diminishes light.
Let me show you what I mean:

Thanks in advanced!!!!
_Luna