diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2022-06-23 14:53:36 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2022-06-23 14:53:36 +0000 |
commit | d995ac67ae2b668d988dc395f28b219f5809c284 (patch) | |
tree | 0caf93cd03728bb4c5fbd52fb339531c765c6676 /indra/newview/app_settings/shaders/class3 | |
parent | 6540b4c480d1d4b4c8342a0d093d09f525485659 (diff) | |
parent | d67e1f4f91e4b206e36343ee31fa4877dd58c01c (diff) |
Merged in SL-17274_view_dir (pull request #1029)
SL-17274: Add view_dir uniform
Approved-by: Dave Parks
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index 61757882bb..4dd5c88211 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -1,5 +1,5 @@ /** - * @file class2/deferred/softenLightF.glsl + * @file class3/deferred/softenLightF.glsl * * $LicenseInfo:firstyear=2007&license=viewerlgpl$ * Second Life Viewer Source Code @@ -85,6 +85,8 @@ vec3 srgb_to_linear(vec3 c); vec4 applyWaterFogView(vec3 pos, vec4 color); #endif +uniform vec3 view_dir; // PBR + void main() { vec2 tc = vary_fragcoord.xy; |