-
Notifications
You must be signed in to change notification settings - Fork 498
Point light shadows #3051
Point light shadows #3051
Conversation
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compilation is not working https://build.osrfoundation.org/job/gazebo-abichecker-any_to_any-ubuntu_auto-amd64/1042/
I just merged with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a test failure at this line:
- https://github.com/osrf/gazebo/blob/gazebo11_11.9.0/gazebo/rendering/RenderingLight_TEST.cc#L130-L131
- https://build.osrfoundation.org/job/gazebo-ci-pr_any-ubuntu_auto-amd64-gpu-nvidia/831/testReport/junit/(root)/Light_TEST/CastShadows/
there also seem to be some ogre error messages in the log file:
@osrf-jenkins retest this please |
I see some ogre log errors:
I think the |
I think vertex_program shadow_caster_vp_glsl just needs to be defined again inside
That points to this line:
Does the param |
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
…zebo into wlew/point_light_shadows
86db565
to
dc83f9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mind to review these warnings ?
https://build.osrfoundation.org/job/gazebo-ci-pr_any-ubuntu_auto-amd64-gpu-nvidia/842/gcc/
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI looks ok to me. I'll wait for a rendering expert to approve though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe @iche033 wants to review this. For me it's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, just some minor comments
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
uniform sampler2DShadow shadowMap4; | ||
uniform sampler2DShadow shadowMap5; | ||
|
||
uniform vec4 lightPos0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this var? looks like it's not being used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Demo works well for me. Just one minor comment on unused var
Currently only directional and spotlights cast shadows. The pull request adds point light shadow capabilities.
Addresses issue #2083