This website works better with JavaScript.
Home
Explore
Help
Sign In
opengl
/
libShaderFile
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
* [docu] added description and examples for shader file, class, procedure, function and main
master
Bergmann89
11 years ago
parent
7e2df5699f
commit
2d4567614c
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
header/examples/color.shdr
+ 3
- 0
header/examples/color.shdr
View File
@@ -3,6 +3,9 @@
{$END}
{$CLASS ColorFrag $EXTENDS Color}
/* you can also define code here. It will be added when the code for the class is generated */
{$FUNC 'vec4' GetColor $INLINE}
{$IF UseColorMap}
{$VAR 'vec2' '_texCoord' 'gl_TexCoord[0].st'}
Write
Preview
Loading…
Cancel
Save