mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
parent
f09d767c6e
commit
82eec0302b
@ -1455,8 +1455,8 @@ fetch_specified_part(Shader::ShaderMatInput part, InternalName *name,
|
||||
t.set_row(2, LVecBase4(d, cutoff));
|
||||
|
||||
} else if (node->is_of_type(PointLight::get_class_type())) {
|
||||
t.set_cell(1, 3, lens->get_near());
|
||||
t.set_cell(3, 3, lens->get_far());
|
||||
t.set_cell(1, 3, lens->get_far());
|
||||
t.set_cell(3, 3, lens->get_near());
|
||||
|
||||
if (node->is_of_type(SphereLight::get_class_type())) {
|
||||
t.set_cell(2, 3, ((const SphereLight *)node)->get_radius());
|
||||
|
Loading…
x
Reference in New Issue
Block a user