mirror of
https://github.com/panda3d/panda3d.git
synced 2026-05-07 07:00:47 -05:00
@@ -2201,7 +2201,7 @@ fetch_specified_light(const NodePath &np, LVecBase4f *into) {
|
||||
if (!node->is_of_type(PointLight::get_class_type())) {
|
||||
t *= lens->get_projection_mat() * shadow_bias_mat;
|
||||
}
|
||||
*(LMatrix4f *)&into[Shader::LA_shadow_view_matrix] = t;
|
||||
*(LMatrix4f *)&into[Shader::LA_shadow_view_matrix] = LCAST(float, t);
|
||||
}
|
||||
|
||||
LVecBase3 atten = light->get_attenuation();
|
||||
|
||||
Reference in New Issue
Block a user