- specify vertex attributes in the shader source for Vulkan compatibility.

This commit is contained in:
Christoph Oelckers 2018-06-13 08:40:04 +02:00
commit d2dea17e81
16 changed files with 9 additions and 46 deletions

View file

@ -33,7 +33,6 @@ void FShadowMapShader::Bind()
mShader.Compile(FShaderProgram::Vertex, "shaders/glsl/screenquad.vp", "", 430);
mShader.Compile(FShaderProgram::Fragment, "shaders/glsl/shadowmap.fp", prolog, 430);
mShader.Link("shaders/glsl/shadowmap");
mShader.SetAttribLocation(0, "PositionInProjection");
mShader.SetUniformBufferLocation(Uniforms.BindingPoint(), "Uniforms");
Uniforms.Init();
}