mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
style
This commit is contained in:
+4
-5
@@ -1,14 +1,13 @@
|
||||
#version 330 core
|
||||
|
||||
layout (location=0) in vec3 aPos;
|
||||
layout (location = 0) in vec3 aPos;
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 lightMat;
|
||||
uniform mat4 model, lightMat;
|
||||
uniform bool point;
|
||||
|
||||
void main(){
|
||||
if(point)
|
||||
gl_Position=model*vec4(aPos,1);
|
||||
gl_Position = model * vec4(aPos, 1);
|
||||
else
|
||||
gl_Position=lightMat*model*vec4(aPos,1);
|
||||
gl_Position = lightMat * model * vec4(aPos, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user