mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-26 21:18:31 +00:00
This commit is contained in:
@@ -25,7 +25,7 @@ void main()
|
||||
// Send vertex attributes to fragment shader
|
||||
fragPosition = vec3(instanceTransform*vec4(vertexPosition, 1.0));
|
||||
fragTexCoord = vertexTexCoord;
|
||||
//fragColor = vertexColor;
|
||||
fragColor = vec4(1.0);
|
||||
fragNormal = normalize(vec3(matNormal*vec4(vertexNormal, 1.0)));
|
||||
|
||||
// Calculate final vertex position, note that we multiply mvp by instanceTransform
|
||||
|
Reference in New Issue
Block a user