How to make "lighting off" for engine. throught material macroblock or another functions?
is need only off Forward3d?
[2.1] lighting off
- Kohedlo
- Orc
- Posts: 435
- Joined: Fri Nov 27, 2009 3:34 pm
- Location: Ukraine, Sumy
- x 32
- Contact:
[2.1] lighting off
c++ game developer.
current project: Imperial Game Engine 2.5
current project: Imperial Game Engine 2.5
- dark_sylinc
- OGRE Team Member
- Posts: 5299
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1279
- Contact:
Re: [2.1] lighting off
Unlit is the equivalent of no lights.
Alternatively you can set light masks to 0 (MovableObject::setLightMask) and ensure Ogre was compiled with OGRE_CONFIG_ENABLE_FINE_LIGHT_MASK_GRANULARITY. This is slower though.
Alternatively you can set light masks to 0 (MovableObject::setLightMask) and ensure Ogre was compiled with OGRE_CONFIG_ENABLE_FINE_LIGHT_MASK_GRANULARITY. This is slower though.