diff options
| author | Dave Parks <davep@lindenlab.com> | 2022-10-11 20:20:39 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2022-10-11 20:20:39 -0500 |
| commit | b6e576c7c2a1cb395092cc66b1836157872b131f (patch) | |
| tree | c9a5ae181ff96637021ed994cab07e9a748984a0 /indra/newview/lldrawpoolwater.cpp | |
| parent | dafa93304335c3c48042e4b5a014dea2480f253f (diff) | |
SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), remove some unused glsl files.
Diffstat (limited to 'indra/newview/lldrawpoolwater.cpp')
| -rw-r--r-- | indra/newview/lldrawpoolwater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolwater.cpp b/indra/newview/lldrawpoolwater.cpp index fc8df01002..18e405b171 100644 --- a/indra/newview/lldrawpoolwater.cpp +++ b/indra/newview/lldrawpoolwater.cpp @@ -670,7 +670,7 @@ void LLDrawPoolWater::renderWater() shader->uniform1i(LLShaderMgr::WATER_EDGE_FACTOR, edge ? 1 : 0); LLVector4 rotated_light_direction = LLEnvironment::instance().getRotatedLightNorm(); - shader->uniform4fv(LLViewerShaderMgr::LIGHTNORM, 1, rotated_light_direction.mV); + shader->uniform3fv(LLViewerShaderMgr::LIGHTNORM, 1, rotated_light_direction.mV); shader->uniform3fv(LLShaderMgr::WL_CAMPOSLOCAL, 1, LLViewerCamera::getInstance()->getOrigin().mV); if (LLViewerCamera::getInstance()->cameraUnderWater()) |
