-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Can't create RenderTexture bigger than the game size. #4139
Comments
I'm seeing this behaviour as well. It's still unclear to me if this is in fact a bug or a misunderstanding of how a |
Yes, I saw this post. Still don't konw how to solve this 😞 . |
It's almost certainly because of the gl scissor settings, which are enabled by default for cameras, and I suspect are scissoring all draws to the render texture beyond the camera range. |
So how to disable this scissor settings? |
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the |
…uld be automatically clipped when drawn to in WebGL. They now reset the gl scissor and drawing height property in order to draw to their full size, regardless of the canvas size. Fix phaserjs#4139
Version
Description
I create a RenderTexture which is bigger than the initial game size and set a fill background to it. But only within the game size the background color was rendered. Is it a bug that RenderTexture can not bigger than the game size?
Example Test Code
Below is the sample code or clone from here https://github.com/chaoyang805/RenderTextureTest.git
Additional Information
The text was updated successfully, but these errors were encountered: