Update VulkanTest demo
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
glslangvalidator -V triangle.vert -o triangle.vert.spv
|
||||
glslangvalidator -V triangle.frag -o triangle.frag.spv
|
||||
glslangvalidator -V triangle.vert -o triangle.vert.spv --client opengl100
|
||||
glslangvalidator -V triangle.frag -o triangle.frag.spv --client opengl100
|
||||
|
||||
|
||||
Binary file not shown.
@@ -28,4 +28,5 @@ void main()
|
||||
outNormal = inNormals;
|
||||
outTexCoords = inTexCoord;
|
||||
gl_Position = ubo.projectionMatrix * ubo.viewMatrix * ubo.modelMatrix * vec4(inPos, 1.0);
|
||||
gl_Position.y = -gl_Position.y;
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user