diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-06-07 15:01:31 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-06-07 15:01:31 +0400 |
commit | b468bf726c50d3126fac2664164e1be0d6e209c5 (patch) | |
tree | 777c7beb1094a652dd75548904abeb6f39073a00 /source/gameengine/Rasterizer/RAS_LightObject.h | |
parent | 7d840a256e0094c159b2fc60bc3395b79f29e0cf (diff) |
Lighting updates:
Added specular after texture.
Added Light properties: Negative, No Diffuse, No Specular, Quad, Quad2
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_LightObject.h')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_LightObject.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_LightObject.h b/source/gameengine/Rasterizer/RAS_LightObject.h index 0c313df80c8..2c22a588d76 100644 --- a/source/gameengine/Rasterizer/RAS_LightObject.h +++ b/source/gameengine/Rasterizer/RAS_LightObject.h @@ -42,7 +42,7 @@ struct RAS_LightObject LIGHT_NORMAL }; bool m_modified; - int m_layer; + int m_layer; float m_energy; float m_distance; @@ -52,12 +52,15 @@ struct RAS_LightObject float m_blue; float m_att1; + float m_att2; float m_spotsize; float m_spotblend; LightType m_type; MT_CmMatrix4x4* m_worldmatrix; + bool m_nodiffuse; + bool m_nospecular; }; #endif //__RAS_LIGHTOBJECT_H |