Closed vp999S closed 6 months ago
please, attach log files as well as the shader files.
please, attach log files as well as the shader files.
same is happening to me, i even used the ones from the x thread, they dont work, also how do i check the logs?
right click the game in steam > properties > browse local files > go to geode/logs and send the log from the session with menu shaders (if you dont know which ones those are, open the game, select the texture pack with one of the broken shaders, go to the main menu, close the game and send latest.log)
right click the game in steam > properties > browse local files > go to geode/logs and send the log from the session with menu shaders (if you dont know which ones those are, open the game, select the texture pack with one of the broken shaders, go to the main menu, close the game and send latest.log)
ok i will
right click the game in steam > properties > browse local files > go to geode/logs and send the log from the session with menu shaders (if you dont know which ones those are, open the game, select the texture pack with one of the broken shaders, go to the main menu, close the game and send latest.log) Geode 2024-05-17 14.55.58.log hope that helps if you need another: Geode 2024-05-17 15.00.57.log im using: myshader.zip
please, attach log files as well as the shader files.
@cute-funny-cats-meow looks like your shader uses textures, those are unsupported by menu shaders, as stated in the FAQ of the porter website.
please, attach log files as well as the shader files.
looks like this shader has an error in its code, are you sure it works in 2.1?
works fine after fixing the shader code: menu-shader.zip
@cute-funny-cats-meow looks like your shader uses textures, those are unsupported by menu shaders, as stated in the FAQ of the porter website.
how do i check if they have textures?
doesn't work with anything that i try either, this one shouldn't use textures as it's just triangles. maybe it's something about the porter? keeps coming up with the "failed to create shader node" error
also the success log is when i removed the shader from the resources folder
doesn't work with anything that i try either, this one shouldn't use textures as it's just triangles. maybe it's something about the porter? keeps coming up with the "failed to create shader node" error
also the success log is when i removed the shader from the resources folder
as the error directly above the one you mentioned says, there are 2 errors in the shader itself.
My shader's dont work as well, i dont think they have textures from what ive seen but they just default to the default gd screen instead of displaying the shader
Logs: Geode 2024-05-19 22.38.02.log
Shader File: menu-shader.zip
it managed to work for me when i used a plasma shader so probably if you use a simple shader it will work
it managed to work for me when i used a plasma shader so probably if you use a simple shader it will work
this has nothing to do with the shaders' complexity. you just got lucky the shader developer wrote their code in a way that made your specific gpu driver happy.
closing as the issue of the OP has been resolved and i will not continue fixing others' shaders for everyone.
If anyone sees this with their shaders not working, see if this helps. You'll very likely have "vec2 uv = gl_FragCoord/resolution.xy;" right in the beginning of your main function in a menu-shader.fsh file. Change that to "vec2 uv = gl_FragCoord.xy/resolution.xy;" as it might fix your issue.
i looked into it further, the shadertoy porter everyone's using has always been broken, and it only started manifesting now, either after driver updates or changing the glsl version, even tho implicit casts have always been forbidden by the glsl spec (see: page 16, or 22 in the pdf itself). to fix this, replace all instances of gl_FragCoord
that dont have .xy
after them with gl_FragCoord.xy
, as Fryy55 mentioned
menu-shader.zip Shader problem
I already put the new code for the shader but now I get the light blue background and it goes down slightly to blue.
Custom shaders loaded using geode's texture loader do not work at all and defaults to the original scrolling main menu. I tried using a bunch of shaders that worked previously on the 2.1 version of the mod and all lead to the same result.
Maintainer's edit 2: as of menu shaders 1.3.0, you can now just use shadertoy shaders directly in menu shaders without using the shadertoy porter website.
Maintainer's edit: see this response, this will likely fix your issue.