Closed danielhrt closed 2 years ago
Looks like the old shader bug is back. It is very specific and occurs only on certain hardware. To fix it, i will need someone who can help with testing it on their PC.
I know how to code a little in lua, I can try to find the problem, do you have an indication for the main or the script file to tell me where the problem can come from? Or at least where was the old shaders bug
You need the shaders.xml file in the mod folder. Remove one shader at a time from this file until the black screen disappears.
And just in case, let me know the characteristics of your hardware.
winows 10 CPU : 5700X GPU : 6600XT 8Go Ram : viper steel 2x8Go
I found the problem is this part of shaders.xml
Okay, now turn the shader back on, start the game, and start a new run. After that, log out and send your log.txt, which is located here: C:\Users\username\Documents\My Games\Binding of Isaac Afterbirth+
[INFO] - Failed to compile fragment shader. Errors - WARNING: 0:119: '#extension' : extension not supported: GL_ARB_texture_query_levels WARNING: 0:120: '#extension' : extension not supported: GL_ARB_fragment_layer_viewport ERROR: 0:19: 'floating-point suffix' : not supported for this version or the enabled extensions ERROR: 0:19: '' : compilation terminated ERROR: 2 compilation errors. No code generated.
If you prefered that is the error
Try to remove all "f" from
if (TimeOut > 0) {
tintColor.r *= sin(TimeOut * 0.0432f)*2;
tintColor.g *= sin(TimeOut * 0.0376f)*2;
tintColor.b *= sin(TimeOut * 0.0231f)*2;
}
Is that enable is just the letter "f" who crash the shaders, thanks you
Glad the problem is fixed. Tomorrow I will release an update with this fix. Thanks for the help.
Bug description | Краткое описание A black screen when a start game with the mod
How to reproduce | При каких условиях появляется When the mod is active he make a black screen on game when a start to play
Expected behavior | Как это должно работать правильно
OS/Browser/Game versions | ОС, версия браузера и/или игры last version, windows 10
Log files/Console messages | Логи и сообщения консоли
Additional infromation | Дополнительная информация