summaryrefslogtreecommitdiff
path: root/indra/llrender/llcubemaparray.h
diff options
context:
space:
mode:
authorMichael Pohoreski <ptolemy@lindenlab.com>2022-06-23 15:42:42 +0000
committerMichael Pohoreski <ptolemy@lindenlab.com>2022-06-23 15:42:42 +0000
commitac62a744586e4a6f1130dcdcb38f75a2d3247de1 (patch)
treec106ca423af59f10077e91e1390acac45124a4b5 /indra/llrender/llcubemaparray.h
parent4d2b2f464be0c1b42462abf31b422e7248d49131 (diff)
parentd995ac67ae2b668d988dc395f28b219f5809c284 (diff)
Merged DRTVWR-559 into SL-17274_gbuffer_flags
Diffstat (limited to 'indra/llrender/llcubemaparray.h')
-rw-r--r--indra/llrender/llcubemaparray.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llrender/llcubemaparray.h b/indra/llrender/llcubemaparray.h
index 52e21f1dda..cbc0692afb 100644
--- a/indra/llrender/llcubemaparray.h
+++ b/indra/llrender/llcubemaparray.h
@@ -32,13 +32,20 @@
class LLVector3;
-// Environment map hack!
class LLCubeMapArray : public LLRefCount
{
public:
LLCubeMapArray();
static GLenum sTargets[6];
+
+ // look and up vectors for each cube face (agent space)
+ static LLVector3 sLookVecs[6];
+ static LLVector3 sUpVecs[6];
+
+ // look and up vectors for each cube face (clip space)
+ static LLVector3 sClipToCubeLookVecs[6];
+ static LLVector3 sClipToCubeUpVecs[6];
// allocate a cube map array
// res - resolution of each cube face