-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Moved zero render target checked to a better place #7354
Conversation
@@ -150,6 +150,12 @@ class WebglRenderTarget { | |||
|
|||
} else { | |||
|
|||
Debug.call(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will just warn though. It won't resize the render targets back right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true.
this will cause webgl errors as well.
as discussed in the previous duplicate issue, the engine does not support this way of hiding the application, and it should not be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does work without the post though. If you do the same thing without the camera frame it will work correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes because normally we do not render to any render target
with camera frame or old post effects we render to render target, and currently we do not support when those are 0 size
Co-authored-by: Martin Valigursky <[email protected]>
Co-authored-by: Martin Valigursky <[email protected]>
this is to handle single samplered RTs as well, not only multisampled
Related to #7351
repro using engine example

note that this is not related to CameraFrame only, but any render target rendering, even old post-effects.