Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shadow map generation for briefing #3509

Merged
merged 1 commit into from Jun 18, 2021

Conversation

BMagnu
Copy link
Member

@BMagnu BMagnu commented Jun 17, 2021

Currently, the model previews during the briefing did not calculate a shadow map. This means that the actual render stage used the last used shadowmap to render (in case of a mission play through the techroom, this is most likely the shadow of the ship shown by default in the ship viewer of the techroom). This is obviously just wrong and will lead to shadows completely unpredictable and wrong in the mission briefing.
This adds proper shadow calculation.

Code is essentially copied from the techroom

@Baezon Baezon added graphics A feature or issue related to graphics (2d and 3d) fix A fix for bugs, not-a-bugs, and/or regressions. labels Jun 17, 2021
@Goober5000 Goober5000 merged commit 318fed5 into scp-fs2open:master Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for bugs, not-a-bugs, and/or regressions. graphics A feature or issue related to graphics (2d and 3d)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants