-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Remove m_isShadowDone in KX_Scene.
This variable was planned originally to reduce shadow update. In the code the images render are done before the screen render, but the shadow is set to not done before the screen render. So this variable is only for multiple images render then as the screen render will always regenerate shadows. This will works only if we now that there's no modifications between two images render, but is not the case as it's the user from python with function "image.refresh()" which call the image render. We don't know if a user moved an object between two call to "refresh()" and in this case the m_isShadowDone will introduce a bug by not generating shadows properly in the second image render.
- Loading branch information
1 parent
a884631
commit 45493ef
Showing
4 changed files
with
1 addition
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters