Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alchemy
Alchemy Next
Commits
71be9d42
Commit
71be9d42
authored
Aug 22, 2021
by
Rye Mutt
🍞
Browse files
Fix a small bug in class1 spotLightF where as diff_tex was being applied twice for projector
parent
a2eefed1
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
View file @
71be9d42
...
...
@@ -205,7 +205,7 @@ void main()
amb_da
*=
dist_atten
*
noise
;
amb_da
=
min
(
amb_da
,
1
.
0
-
lit
);
col
+=
amb_da
*
color
.
rgb
*
diff_tex
.
rgb
*
amb_plcol
.
rgb
*
amb_plcol
.
a
*
diff_tex
.
rgb
;
col
+=
amb_da
*
color
.
rgb
*
diff_tex
.
rgb
*
amb_plcol
.
rgb
*
amb_plcol
.
a
;
}
if
(
spec
.
a
>
0
.
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment