20,741
edits
(http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg35934.html) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{WIP|Will be based on: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg35934.html}} | {{WIP|Will be based on: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg35934.html}} | ||
== Fragment Shaders == | |||
{{Note|To check if your shader is working, add this as the last line, it should turn all pixels black: | |||
<syntaxhighlight lang="glsl"> | |||
gl_FragColor = vec4 (0.0,0.0,0.0,1.0); | |||
</syntaxhighlight> | |||
}} |