diff options
author | Geenz <geenz@geenzo.com> | 2013-01-30 12:17:04 -0500 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-01-30 12:17:04 -0500 |
commit | aa1befd689703d9fea50399201911e0f8fca6ac6 (patch) | |
tree | c60457d1762d8b1c28a9d40130ba2988f532cd27 /indra/newview/llspatialpartition.cpp | |
parent | 66a01ba4c581d79227b0e67f5f75dc248fcaf7ab (diff) |
Specular map support. This is the vast majority of the material parameters implemented at this point for opaque geometry.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 2083afdcf5..8a62f22985 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -4672,7 +4672,12 @@ LLDrawInfo::LLDrawInfo(U16 start, U16 end, U32 count, U32 offset, mGroup(NULL), mFace(NULL), mDistance(0.f), - mDrawMode(LLRender::TRIANGLES) + mDrawMode(LLRender::TRIANGLES), + mSpecColor(1.0f, 1.0f, 1.0f, 0.5f), + mEnvIntensity(0.0f), + mAlphaMaskCutoff(0.5f), + mDiffuseAlphaMode(0), + mMaterialID(NULL) { mVertexBuffer->validateRange(mStart, mEnd, mCount, mOffset); |