[2.1] lighting off

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
Kohedlo
Orc
Posts: 435
Joined: Fri Nov 27, 2009 3:34 pm
Location: Ukraine, Sumy
x 32
Contact:

[2.1] lighting off

Post by Kohedlo »

How to make "lighting off" for engine. throught material macroblock or another functions?

is need only off Forward3d?
c++ game developer.
current project: Imperial Game Engine 2.5
Image
User avatar
dark_sylinc
OGRE Team Member
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

Post by dark_sylinc »

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.
Post Reply