Shadergen: More lighting work

This commit is contained in:
wheremyfoodat 2024-07-18 02:57:41 +03:00
parent ed00ddc805
commit ccf9693877
4 changed files with 57 additions and 5 deletions

View file

@ -875,6 +875,10 @@ OpenGL::Program& RendererGL::getSpecializedShader() {
vec[3] = float((color >> 24) & 0xFF) / 255.0f;
}
// Append lighting uniforms
if (fsConfig.lighting.enable) {
}
gl.bindUBO(programEntry.uboBinding);
glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(PICA::FragmentUniforms), &uniforms);