diff options
| author | Ptolemy <ptolemy@lindenlab.com> | 2022-08-29 17:34:49 -0700 |
|---|---|---|
| committer | Ptolemy <ptolemy@lindenlab.com> | 2022-08-29 17:34:49 -0700 |
| commit | e81b149c4a24a8ade827e34fa600207cfa86fc7f (patch) | |
| tree | 689e7cc6e6a7f83ef0d29ac58e513d6b7faa7005 /indra/newview/lldrawpoolpbropaque.cpp | |
| parent | 826bd47cc1355844dea7cfc838ba5f685b91251e (diff) | |
Revert "SL-17703: PBR: Fix missing ORM to use 1,0,0"
If ORM is blank the roughness and metal are multiplied into a default white ORM texture. This reverts commit 71ae65ae175a33c7f60442f62b0ef59415528bf5.
Diffstat (limited to 'indra/newview/lldrawpoolpbropaque.cpp')
| -rw-r--r-- | indra/newview/lldrawpoolpbropaque.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.cpp b/indra/newview/lldrawpoolpbropaque.cpp index 35beafaa40..3930e11cf3 100644 --- a/indra/newview/lldrawpoolpbropaque.cpp +++ b/indra/newview/lldrawpoolpbropaque.cpp @@ -120,7 +120,7 @@ void LLDrawPoolPBROpaque::renderDeferred(S32 pass) } else { - shader->bindTexture(LLShaderMgr::SPECULAR_MAP, LLViewerTexture::sDefaultPBRORMImagep); // ORM 1,0,0 + shader->bindTexture(LLShaderMgr::SPECULAR_MAP, LLViewerFetchedTexture::sWhiteImagep); } if (pparams->mEmissiveMap) |
