Skip to content

Commit e3d8123

Browse files
committed
glsl: fix broken shadowMatrix as member of named light input
Fixes: panda3d#157
1 parent d1c34c3 commit e3d8123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panda/src/glstuff/glShaderContext_src.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ reflect_uniform(int i, char *name_buffer, GLsizei name_buflen) {
14311431
bind._arg[0] = NULL;
14321432
bind._dep[0] = Shader::SSD_general | Shader::SSD_transform;
14331433
bind._part[1] = Shader::SMO_mat_constant_x_attrib;
1434-
bind._arg[1] = InternalName::make("shadowViewMatrix");
1434+
bind._arg[1] = iname->get_parent()->append("shadowViewMatrix");
14351435
bind._dep[1] = Shader::SSD_general | Shader::SSD_shaderinputs | Shader::SSD_frame | Shader::SSD_view_transform;
14361436
} else {
14371437
bind._part[0] = Shader::SMO_mat_constant_x_attrib;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy