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

Fix to depth-grab pass on WebGl1 #5402

Merged
merged 1 commit into from Jun 15, 2023
Merged

Fix to depth-grab pass on WebGl1 #5402

merged 1 commit into from Jun 15, 2023

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Jun 15, 2023

Fixed #5400

The issue was introduced in #5353 by adding an array of color targets, which matches the single entry from before. GL1 version of grab pass hacks internals of RenderTarget and wasn't handling this.

@mvaligursky mvaligursky self-assigned this Jun 15, 2023
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Jun 15, 2023
@mvaligursky mvaligursky merged commit 3cfd9f1 into main Jun 15, 2023
7 checks passed
@mvaligursky mvaligursky deleted the mv-gl1-depthgrab-fix branch June 15, 2023 16:24
mvaligursky added a commit that referenced this pull request Jun 16, 2023
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DepthGrab capture / its use does not work on WebGL1
2 participants