mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fix flickering when using trans_model_to_apiview in Cg
This commit is contained in:
parent
96de270320
commit
5def6a6261
@ -413,8 +413,10 @@ cp_dependency(ShaderMatInput inp) {
|
||||
if (inp == SMO_attr_fog || inp == SMO_attr_fogcolor) {
|
||||
dep |= SSD_fog;
|
||||
}
|
||||
if ((inp == SMO_model_to_view)||
|
||||
(inp == SMO_view_to_model)) {
|
||||
if ((inp == SMO_model_to_view) ||
|
||||
(inp == SMO_view_to_model) ||
|
||||
(inp == SMO_model_to_apiview) ||
|
||||
(inp == SMO_apiview_to_model)) {
|
||||
dep |= SSD_transform;
|
||||
}
|
||||
if ((inp == SMO_texpad_x) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user