Add EulerAngles to Quaternion and Shaders System
This commit is contained in:
parent
639e1b7608
commit
78dc21fee8
15 changed files with 291 additions and 32 deletions
6
res/shaders/test.frag
Normal file
6
res/shaders/test.frag
Normal file
|
@ -0,0 +1,6 @@
|
|||
uniform float a;
|
||||
|
||||
void main(void){
|
||||
if(a >= 0)gl_FragColor = vec4(a,0,0,1);
|
||||
else gl_FragColor = vec4(0,-a,0,1);
|
||||
}
|
Reference in a new issue