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
ef542b8d
Commit
ef542b8d
authored
Sep 07, 2021
by
Rye Mutt
🍞
Browse files
Fix writing invalid value to specular buffer in deferred terrain
parent
7de5e8cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl
View file @
ef542b8d
...
...
@@ -60,7 +60,7 @@ void main()
outColor
.
a
=
0
.
0
;
// yes, downstream atmospherics
frag_data
[
0
]
=
outColor
;
frag_data
[
1
]
=
vec4
(
0
.
0
,
0
.
0
,
0
.
0
,
-
1
.
0
);
frag_data
[
1
]
=
vec4
(
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
);
vec3
nvn
=
normalize
(
vary_normal
);
frag_data
[
2
]
=
vec4
(
encode_normal
(
nvn
.
xyz
),
0
.
0
,
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