summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolpbropaque.h
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-06-23 14:43:48 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-06-23 14:43:48 -0700
commitb5867cf5e663f3308a914600d71d09868142dedf (patch)
treec9bf285909d51f1cd9539dcba322c95fa3187600 /indra/newview/lldrawpoolpbropaque.h
parent861e7b6be812f450ed9b4580a8c7ca30d88a26dd (diff)
SL-17273: Fix drawpool to pass normal and spec map to PBR shader
Diffstat (limited to 'indra/newview/lldrawpoolpbropaque.h')
-rw-r--r--indra/newview/lldrawpoolpbropaque.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.h b/indra/newview/lldrawpoolpbropaque.h
index ada806a3bf..413bcb800c 100644
--- a/indra/newview/lldrawpoolpbropaque.h
+++ b/indra/newview/lldrawpoolpbropaque.h
@@ -34,11 +34,14 @@ class LLDrawPoolPBROpaque : public LLRenderPass
public:
enum
{
- VERTEX_DATA_MASK = 0
- | LLVertexBuffer::MAP_VERTEX
- | LLVertexBuffer::MAP_NORMAL
- | LLVertexBuffer::MAP_TEXCOORD0
- | LLVertexBuffer::MAP_COLOR
+ // See: DEFERRED_VB_MASK
+ VERTEX_DATA_MASK = 0
+ | LLVertexBuffer::MAP_VERTEX
+ | LLVertexBuffer::MAP_NORMAL
+ | LLVertexBuffer::MAP_TEXCOORD0 // Diffuse
+ | LLVertexBuffer::MAP_TEXCOORD1 // Normal
+ | LLVertexBuffer::MAP_TEXCOORD2 // Spec <-- ORM Occlusion Roughness Metal
+ | LLVertexBuffer::MAP_COLOR
};
virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }