This website requires JavaScript.
Explore
Help
Sign In
faerbit
/
Saxum
Watch
1
Star
0
Fork
0
You've already forked Saxum
Code
Issues
1
Pull Requests
Projects
Releases
2
Wiki
Activity
fa47c93b46
Saxum
/
data
/
shader
/
flame.fsh
11 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Added simple geometry shader which draws a red triangle which changes it's height over time.
2015-02-24 22:30:59 +00:00
#version 150
Using the color of the lights for the flame color.
2015-03-01 17:45:31 +00:00
in vec3 fColor;
Added simple geometry shader which draws a red triangle which changes it's height over time.
2015-02-24 22:30:59 +00:00
out vec4 oColor;
Using the color of the lights for the flame color.
2015-03-01 17:45:31 +00:00
Added simple geometry shader which draws a red triangle which changes it's height over time.
2015-02-24 22:30:59 +00:00
void main() {
Fixed blurring of flames with stencil buffer.
2015-03-04 10:25:02 +00:00
oColor = vec4(fColor, 0.6);
Added simple geometry shader which draws a red triangle which changes it's height over time.
2015-02-24 22:30:59 +00:00
}
Reference in New Issue
Copy Permalink