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

Examples: Use loop unroll in PCSS demo. #22646

Merged
merged 1 commit into from
Oct 6, 2021
Merged

Examples: Use loop unroll in PCSS demo. #22646

merged 1 commit into from
Oct 6, 2021

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 6, 2021

Related issue: Fixed #22638

Description

The problematic loops in the PCSS demo are now unrolled. To make this work, it is necessary to replace the define in the loop with the actual integer value. For internal defines, this is done by the engine in WebGLProgram. However, this does not work for PCF_NUM_SAMPLES since it's a custom define.

@mrdoob mrdoob added this to the r134 milestone Oct 6, 2021
@mrdoob mrdoob merged commit 094730f into mrdoob:dev Oct 6, 2021
@mrdoob
Copy link
Owner

mrdoob commented Oct 6, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

about shadowmap pcss
2 participants