mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-30 04:54:18 -04:00
@ -164,6 +164,7 @@ void main()
|
||||
in vec3 vertexPosition;
|
||||
in vec3 normalDirection;
|
||||
in vec4 vertexColor;
|
||||
uniform mat4 modelMatrix;
|
||||
uniform mat4 viewMatrix;
|
||||
|
||||
out vec3 normal;
|
||||
@ -171,7 +172,7 @@ out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = viewMatrix * vec4(vertexPosition, 1.0);
|
||||
gl_Position = viewMatrix * modelMatrix * vec4(vertexPosition, 1.0);
|
||||
normal = normalDirection;
|
||||
color = vertexColor;
|
||||
}</value>
|
||||
|
Reference in New Issue
Block a user