diff options
author | Geenz <geenz@geenzo.com> | 2013-04-15 02:29:03 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-04-15 02:29:03 -0400 |
commit | 39544a3b06e3221602444eb81c7df8c1030c6bb5 (patch) | |
tree | 2967c0fbac4329922f3c04e14d3066f7bd9607fd /indra/newview/llvopartgroup.cpp | |
parent | 6257a8394c23b518febdf5ec9c9ecbdce224e046 (diff) |
Hooked up normal and specular texture coordinates.
Diffstat (limited to 'indra/newview/llvopartgroup.cpp')
-rw-r--r-- | indra/newview/llvopartgroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvopartgroup.cpp b/indra/newview/llvopartgroup.cpp index 675ba685b4..65711d2339 100644 --- a/indra/newview/llvopartgroup.cpp +++ b/indra/newview/llvopartgroup.cpp @@ -66,8 +66,8 @@ void LLVOPartGroup::initClass() void LLVOPartGroup::restoreGL() { - //TODO: optimize out binormal mask here - sVB = new LLVertexBuffer(VERTEX_DATA_MASK | LLVertexBuffer::MAP_BINORMAL, GL_STREAM_DRAW_ARB); + //TODO: optimize out binormal mask here. Specular and normal coords as well. + sVB = new LLVertexBuffer(VERTEX_DATA_MASK | LLVertexBuffer::MAP_BINORMAL | LLVertexBuffer::MAP_TEXCOORD1 | LLVertexBuffer::MAP_TEXCOORD2, GL_STREAM_DRAW_ARB); U32 count = LL_MAX_PARTICLE_COUNT; sVB->allocateBuffer(count*4, count*6, true); |