Lighting the cockpit
Fixed light map projection by setting the wrap mode in TextureStage to border. This may affect other maps, yet to see any side-effects yet.
Cockpit is now properly attached to the spaceship, and has its own lights working. If you link a 'CockpitPos' object when making a spaceship, the cockpit will be attached in that spot.
Cockpit camera now uses cockpit-local transform from 'Camera/Transform/Position'
Screenshot shows one outside light and two in-cockpit lights
Comments
Post a Comment