diff options
author | Geenz <geenz@geenzo.com> | 2019-04-10 02:11:07 -0700 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2019-04-10 02:11:07 -0700 |
commit | 08812cbe060e62cb8b61e91bc2f878a74a0015e5 (patch) | |
tree | 50e6cd88845b96a7b457bc3f81c56f4d17a114b8 /indra/newview/app_settings/shaders/class2/deferred | |
parent | dcd8117b85f45886f78a1a2e9756cb1709d6572a (diff) |
Separate out vertex program objects from fragment program objects and use it.
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate.
This change makes sure the two are separated. Using this over a multimap largely for readibility.
Also, actually, you know, use this functionality.
--HG--
branch : OPEN-340
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl index 4c7c50315f..2a772e6741 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -126,7 +126,7 @@ void main() vec3 atten; calcAtmosphericVars(pos.xyz, ambocc, sunlit, amblit, additive, atten); - + sunlit *= 0.5; float ambient = da; ambient *= 0.5; ambient *= ambient; |