diff options
author | Graham Linden <graham@lindenlab.com> | 2018-11-06 19:33:04 +0000 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-11-06 19:33:04 +0000 |
commit | 2929998982f37221a58b9fa8037748a2e905f4b1 (patch) | |
tree | 24cc0c3da6655e9ed98908baa524e72068fbd64d /indra/newview/app_settings/shaders/class1/windlight/transportF.glsl | |
parent | 8c1aefc17c710b55ed7a72bd9de14cbed58ccd31 (diff) |
Move to using a shared deferredUtil object for getting pos/norm from gbuffer.
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code.
Make pipeline use getShadowTarget/releaseShadowTarget consistently.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/windlight/transportF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/windlight/transportF.glsl | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class1/windlight/transportF.glsl index ebce9ea91d..e2b391cb7a 100644 --- a/indra/newview/app_settings/shaders/class1/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class1/windlight/transportF.glsl @@ -1,5 +1,5 @@ /** - * @file transportF.glsl + * @file class1/windlight/transportF.glsl * * $LicenseInfo:firstyear=2005&license=viewerlgpl$ * Second Life Viewer Source Code @@ -25,6 +25,24 @@ uniform int no_atmo; +vec3 atmosTransportFrag(vec3 light, vec3 additive, vec3 atten) +{ + /* stub function for fallback compatibility on class1 hardware */ + return light; +} + +vec3 fullbrightAtmosTransportFrag(vec3 light, vec3 additive, vec3 atten) +{ + /* stub function for fallback compatibility on class1 hardware */ + return light; +} + +vec3 fullbrightShinyAtmosTransportFrag(vec3 light, vec3 atten, vec3 additive) +{ + /* stub function for fallback compatibility on class1 hardware */ + return light; +} + vec3 atmosTransport(vec3 light) { /* stub function for fallback compatibility on class1 hardware */ @@ -33,11 +51,12 @@ vec3 atmosTransport(vec3 light) vec3 fullbrightAtmosTransport(vec3 light) { + /* stub function for fallback compatibility on class1 hardware */ return light; } vec3 fullbrightShinyAtmosTransport(vec3 light) { + /* stub function for fallback compatibility on class1 hardware */ return light; } - |