summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-05-06 09:44:23 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-05-06 09:44:23 -0700
commit849e85dfd28cf561d17d6737db1e8463acffd7fa (patch)
treea02c990b6e297a3c86e9dd25868fa37ee7aa4fa2 /indra
parent54919fa7495910e6f7877228a0458736024dcdc4 (diff)
SL-17274: Fix diffuse color not being used in pbr shader
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolpbropaque.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.h b/indra/newview/lldrawpoolpbropaque.h
index 735a84ec1d..ada806a3bf 100644
--- a/indra/newview/lldrawpoolpbropaque.h
+++ b/indra/newview/lldrawpoolpbropaque.h
@@ -34,9 +34,11 @@ class LLDrawPoolPBROpaque : public LLRenderPass
public:
enum
{
- VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX
- | LLVertexBuffer::MAP_NORMAL
- | LLVertexBuffer::MAP_TEXCOORD0
+ VERTEX_DATA_MASK = 0
+ | LLVertexBuffer::MAP_VERTEX
+ | LLVertexBuffer::MAP_NORMAL
+ | LLVertexBuffer::MAP_TEXCOORD0
+ | LLVertexBuffer::MAP_COLOR
};
virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }