I am experiencing an issue where the CRT post-process effect causes a black screen on some devices. It works perfectly on Windows and macOS, but it fails to display correctly on other devices. When the post-process effect is turned off, everything is visible, but there are some texture-related errors.
Here’s a link to my project discussion:
I was also able to port the entire ASCII renderer to a playground:
Any advice or guidance would be greatly appreciated. Thank you!
Since your PG is > 1160 lines of code, I would advice to try to create a reproduction of the error (black screen only on Linux device) with absolute minimal code, in order for devs to be able to reproduce easily…
Also, I’m not sure it’s only on linux, since @roland has the issue as well, and I think he is using MacOS
It does not work on my phone and I tested that.
I pointed out the only part that is not working is the post process effect lines 102 to 150 is where the shader is put into the store.
Then, as I said, best is to share a minimal Playground, to give a minimal reproduction setup :
Doing some tests with this minimal setup, it appears problem comes from vignetteRoundness which shouldn’t be set to 0 since it’s a divider in the GLSL function :
JS :
You are the one seeking for help so next time a pro who can help you asks you to create a PG with the issue isolated whithout any other unnecessary code, just do it please.
@Tricotou you bro once again proved yourself to be a gentleman I wouldn’t bother to create the PG.