mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix updating of light position input in Cg
This commit is contained in:
parent
33d183d4f7
commit
cb41ff2791
@ -430,7 +430,10 @@ cp_dependency(ShaderMatInput inp) {
|
|||||||
(inp == SMO_clip_x_to_view) ||
|
(inp == SMO_clip_x_to_view) ||
|
||||||
(inp == SMO_view_to_clip_x) ||
|
(inp == SMO_view_to_clip_x) ||
|
||||||
(inp == SMO_apiclip_x_to_view) ||
|
(inp == SMO_apiclip_x_to_view) ||
|
||||||
(inp == SMO_view_to_apiclip_x)) {
|
(inp == SMO_view_to_apiclip_x) ||
|
||||||
|
(inp == SMO_dlight_x) ||
|
||||||
|
(inp == SMO_plight_x) ||
|
||||||
|
(inp == SMO_slight_x)) {
|
||||||
dep |= SSD_transform;
|
dep |= SSD_transform;
|
||||||
}
|
}
|
||||||
if ((inp == SMO_texpad_x) ||
|
if ((inp == SMO_texpad_x) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user