Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Gobbi
VTK
Commits
336ba37e
Verified
Commit
336ba37e
authored
2 months ago
by
Sankhesh Jhaveri
Browse files
Options
Downloads
Patches
Plain Diff
Added release note for shadow map light transforms
parent
c82ca6da
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/release/dev/fix-shadowmap-light.md
+9
-0
9 additions, 0 deletions
Documentation/release/dev/fix-shadowmap-light.md
with
9 additions
and
0 deletions
Documentation/release/dev/fix-shadowmap-light.md
0 → 100644
+
9
−
0
View file @
336ba37e
## Fix light transforms when computing shadow maps
The
`vtkShadowMapBakerPass`
computes shadow maps for each light by simulating a
`vtkCamera`
for each
light and compositing the rendered images. However, an unintentional side-effect of this was that
the original light's transforms were being affected by this. In other words, the lights would be
corrupt after the shadow map computation. To circumvent this, we cache the light
transforms prior to the shadow map computation and then reset them after.

This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment