diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-13 10:39:09 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-13 10:39:09 -0700 |
commit | 754fe9d4b72c3a22fb18e32bd48daaa2ae7b02f7 (patch) | |
tree | 86b4f76255baf6cdf4cf760d6445c82dda8bd498 /indra/llrender/llshadermgr.cpp | |
parent | ab3b4edac7809008cfed6d1b77e5a4debb22c88e (diff) |
DRTVWR-592: (WIP) Triplanar mapping
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index b2c8255d2a..91412add44 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -291,6 +291,14 @@ BOOL LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader) } } + if (features->isPBRTerrain) + { + if (!shader->attachFragmentObject("deferred/pbrterrainUtilF.glsl")) + { + return FALSE; + } + } + // NOTE order of shader object attaching is VERY IMPORTANT!!! if (features->hasWaterFog) { |