-
-
Notifications
You must be signed in to change notification settings - Fork 35.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
WebGLRenderer: Improve RGBA_INTEGER
support.
#28829
Comments
There are a couple of issue in your code. Here is a fixed version: https://jsfiddle.net/5hyf3jzo/1/
Next time, please ask for help at the forum first. |
It's possible that glInternalFormat could be a bit smarter here. It looks like integer types are handled more gracefully for |
That sounds like a good addition. Would you make a PR with your suggestion? |
Perhaps at some point but I don't think I can commit time to implementing and testing it right now. It may be worth keeping the issue open to keep track of it for the moment. |
RGBA_INTEGER
support.
Description
I face the same issue that @gkjohnson mentioned 3 years ago. Seems the error comes from three.js doesn't support clearing or rendering to integer render targets (as Garrett Johnson said). Any update for this issue?
https://arc.net/l/quote/gnimfrqg
Reproduction steps
Please check the fiddle, you can compare the different between
RGBAFormat
andRGBAIntegerFormat
in console panel.Code
See fiddle for complete example.
Live example
https://jsfiddle.net/yaohsiao/np97zdve/21/
Screenshots
Version
r166
Device
Desktop
Browser
Chrome
OS
MacOS
The text was updated successfully, but these errors were encountered: