We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When changing the camera viewport from default (0, 0, 1, 1) to non-default values e.g. (0.01, 0, 1, 1), the camera's clear color is ignored.
Test project: https://playcanvas.com/editor/scene/1980662
(0, 0, 1, 1):
(0.01, 0, 1, 1):
Tested in Edge
From my own digging around, I found a property assignment for "clearColor":
engine/src/scene/renderer/render-pass-forward.js
Lines 273 to 280 in 4ab0ace
But in "renderForwardLayer" function, the property read is "clearColors":
engine/src/scene/renderer/forward-renderer.js
Lines 696 to 701 in 4ab0ace
The text was updated successfully, but these errors were encountered:
Thanks for this, easy to fix if you just point it out to us!
Sorry, something went wrong.
mvaligursky
Successfully merging a pull request may close this issue.
Description
When changing the camera viewport from default (0, 0, 1, 1) to non-default values e.g. (0.01, 0, 1, 1), the camera's clear color is ignored.
Test URL
Test project: https://playcanvas.com/editor/scene/1980662
Screenshots
(0, 0, 1, 1):
(0.01, 0, 1, 1):
Platform
Tested in Edge
Steps to Reproduce
Additional Notes
From my own digging around, I found a property assignment for "clearColor":
engine/src/scene/renderer/render-pass-forward.js
Lines 273 to 280 in 4ab0ace
But in "renderForwardLayer" function, the property read is "clearColors":
engine/src/scene/renderer/forward-renderer.js
Lines 696 to 701 in 4ab0ace
The text was updated successfully, but these errors were encountered: