- specify vertex attributes in the shader source for Vulkan compatibility.
This commit is contained in:
parent
ad7aaa8f2a
commit
d2dea17e81
16 changed files with 9 additions and 46 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue