diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-11-26 12:05:25 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-11-26 12:05:25 +0800 |
commit | a40795bd6ffcfff71bead4869d79cf5a73d5a7af (patch) | |
tree | 6c4c1fbb421f737c0b62fcda51ca7ca0ce8294f4 /indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl | |
parent | 30842e230e2b3d365e8415f0350f8d10ce8b0637 (diff) | |
parent | d65fb7cec8ce36ce7f6ff082f8d04bdd8bc0208c (diff) |
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl b/indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl index e3441add35..6dce67d2c5 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/sunDiscF.glsl @@ -48,6 +48,11 @@ void main() frag_data[0] = vec4(0); frag_data[1] = vec4(0.0f); frag_data[2] = vec4(0.0, 1.0, 0.0, GBUFFER_FLAG_SKIP_ATMOS); +#if defined(HAS_EMISSIVE) + frag_data[0] = vec4(0); frag_data[3] = c; +#else + frag_data[0] = c; +#endif } |