This website requires JavaScript.
Explore
Help
Sign In
ilikecats
/
stk-code_catmod
Watch
1
Star
1
Fork
0
You've already forked stk-code_catmod
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
1903aee114
stk-code_catmod
/
data
/
shaders
/
white.frag
7 lines
73 B
GLSL
Raw
Normal View
History
Unescape
Escape
Shadow: Use Geometry Shader for better perfs. The 3 cascades are now rendered in a single pass, using 2D array texture and a GS to do the dispatch ("layered rendering"). It's possible to use instancing instead but it requires the AMD_vertex_shader_layer extension which is oddly part of opengl 4.2.
2014-02-10 13:28:02 -05:00
#version 330
Explicitly define fragment exported values.
2014-01-19 13:31:00 -05:00
out
vec4
FragColor
;
Merge cand's graphical improvements branch!! There are many known issues folks, so don't cry victory just now, this is just the beginning. Especially, shadows do not work correctly at this time git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-30 16:33:06 -05:00
void
main
(
)
{
Explicitly define fragment exported values.
2014-01-19 13:31:00 -05:00
FragColor
=
vec4
(
1.0
)
;
Merge cand's graphical improvements branch!! There are many known issues folks, so don't cry victory just now, this is just the beginning. Especially, shadows do not work correctly at this time git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-30 16:33:06 -05:00
}
Reference in New Issue
Copy Permalink