vrml2 / tnakgame

turn-based artillery game
MIT License
1 stars 0 forks source link

lighting angle odd #4

Closed splace closed 5 years ago

splace commented 5 years ago

underside and mountain sides dark

splace commented 5 years ago

seems to fit with directional light direction

          children [
            DirectionalLight {
              direction -.3 -1 -.3 
            }
            DEF exp ExplosionManager {
            }
            DEF tm TankManager {   
            },
            DEF ter Terrain {  
            },
            DEF proj Projectile {
            }
          ]
dwblaikie commented 5 years ago

Yeah, the idea was to be sort of like sunlight - so the underside of the terrain should be unlit, and some steep mountains might be unlit on one side.

That said, perhaps a little ambient (or a lower directly down light) might help so the mountain shadows aren't such a stark contrast.