CloudWolfYT / ShaderSelectorV2

Creative Commons Zero v1.0 Universal
40 stars 1 forks source link

Black screen in vanilla 1.20.4 #3

Closed Tim355Code closed 1 month ago

Tim355Code commented 6 months ago

When I join in vanilla singleplayer with the setting "Fabulous" all I get is a black screen. The toggle particles work, but it just applies the shader to the black screen.

On the youtube tutorial someone in the comments posted about the exact same issue, but it went nowhere. Any ideas on this one?

No errors in log, I'm on 1.20.4 (I tested 1.20.3 and 1.20.1 as well, no luck). I'm on MacOS 14.3, using JVM 18.0.2

UPDATE: I sent the resource pack to a friend on WIndows 11, and it works perfectly fine. It seems that MacOS is somehow interfering. Very strange.

UPDATE2: I testes the exact same game version and JVM version (17.0.1) and I still get a black screen.

UPDATE3: I found some errors in log after all!

[21:17:33] [Render thread/WARN]: Shader toggler/copy could not find uniform named ProjMat in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/copy could not find uniform named InSize in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/copy could not find uniform named Time in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/findcolor could not find uniform named ProjMat in the specified shader program.
[21:17:33] [Render thread/WARN]: Error encountered when linking program containing VS screenquad and FS transparency. Log output:
[21:17:33] [Render thread/WARN]: ERROR: Input of fragment shader 'oneTexel' not written by vertex shader

[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named DiffuseSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named DiffuseDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named TranslucentSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named TranslucentDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named ItemEntitySampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named ItemEntityDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named ParticlesSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named ParticlesDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named CloudsSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named CloudsDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named WeatherSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find sampler named WeatherDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find uniform named ProjMat in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader transparency could not find uniform named OutSize in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/shader could not find sampler named DiffuseDepthSampler in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/shader could not find uniform named InSize in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/shader could not find uniform named ScreenSize in the specified shader program.
[21:17:33] [Render thread/WARN]: Shader toggler/shader could not find uniform named ColorModulate in the specified shader program.

Final update, I found a discord forums post in the Commands Server which details a solution to this problem. This should probably be added to the repo. Link to post: https://discord.com/channels/154777837382008833/1157302432263581806