Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
fishypack-trident
Commits
9dedffa9
Commit
9dedffa9
authored
Mar 19, 2018
by
blackle
Browse files
move 9.0 division into pow statement
parent
8ac1b143
Changes
1
Hide whitespace changes
Inline
Side-by-side
glx-xlib-tests/shader.frag
View file @
9dedffa9
...
...
@@ -262,5 +262,5 @@ void main() {
ray
.
m_color
*=
1
.
0
-
pow
(
distance
(
uv
,
vec2
(
0
.
0
))
*
0
.
85
,
3
.
0
);
fragColor
=
vec4
(
pow
(
log
(
ray
.
m_color
+
1
)
*
0
.
9
,
vec3
(
1
.
2
))
/
9
.
0
,
1
.
0
);
fragColor
=
vec4
(
pow
(
log
(
ray
.
m_color
+
1
)
*
0
.
14
,
vec3
(
1
.
2
)),
1
.
0
);
}
\ No newline at end of file
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