Comments (12)
Glad the problem is fixed. Tomorrow I will release an update with this fix. Thanks for the help.
from isaacontwitchreloaded.
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.
from isaacontwitchreloaded.
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
from isaacontwitchreloaded.
You need the shaders.xml file in the mod folder. Remove one shader at a time from this file until the black screen disappears.
from isaacontwitchreloaded.
And just in case, let me know the characteristics of your hardware.
from isaacontwitchreloaded.
winows 10
CPU : 5700X
GPU : 6600XT 8Go
Ram : viper steel 2x8Go
from isaacontwitchreloaded.
I found the problem is this part of shaders.xml
varying vec3 PositionOut;
varying vec4 RenderDataOut;
varying float ScaleOut;
varying float TimeOut;
void main(void)
{
RenderDataOut = RenderData;
PositionOut = Position;
ScaleOut = Scale;
TimeOut = Time;
Color0 = Color;
TexCoord0 = TexCoord;
gl_Position = Transform * vec4(Position.xyz, 1.0);
}
]]>
</vertex>
<fragment>
<![CDATA[
varying lowp vec4 Color0;
varying mediump vec2 TexCoord0;
uniform sampler2D Texture0;
varying lowp vec4 RenderDataOut;
varying lowp float ScaleOut;
varying lowp float TimeOut;
varying lowp vec3 PositionOut;
void main(void)
{
vec4 tintColor = Color0 * texture2D(Texture0, TexCoord0);
vec4 color = Color0 * texture2D(Texture0, TexCoord0);
float screenPosX = PositionOut.x/RenderDataOut.x * ScaleOut;
float screenPosY = PositionOut.y/RenderDataOut.y * ScaleOut;
if (TimeOut > 0) {
tintColor.r *= sin(TimeOut * 0.0432f)*2;
tintColor.g *= sin(TimeOut * 0.0376f)*2;
tintColor.b *= sin(TimeOut * 0.0231f)*2;
}
color.rgb = color.rgb + (smoothstep(0.1,0.9, screenPosX - .7) * tintColor.rgb);
color.rgb = color.rgb + (smoothstep(0.1,0.9, .3 - screenPosX) * tintColor.rgb);
color.rgb = color.rgb + (smoothstep(0.1,0.9, screenPosY - .7) * tintColor.rgb);
color.rgb = color.rgb + (smoothstep(0.1,0.9, .3 - screenPosY) * tintColor.rgb);
gl_FragColor = color;
}
]]>
</fragment>
</shader>
from isaacontwitchreloaded.
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+
from isaacontwitchreloaded.
from isaacontwitchreloaded.
[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
from isaacontwitchreloaded.
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;
}
from isaacontwitchreloaded.
Is that enable is just the letter "f" who crash the shaders, thanks you
from isaacontwitchreloaded.
Related Issues (17)
- How to Run? HOT 2
- Followers Vanish on Entry to Twitch Room HOT 2
- [BUG] Краткое описание проблемы | Short issue description HOT 2
- [BUG] Краткое описание проблемы | Short issue description HOT 1
- [BUG] Краткое описание проблемы | Short issue description HOT 1
- [FEATURE] Coop events for other players in the run HOT 1
- [Bug] Voting on "More"/"Less" is min/maxing the meter HOT 6
- [Bug] Actives are outright replaced HOT 5
- [BUG] Game crashing while getting knife piece 2
- [BUG] Connecting to game server never ends HOT 5
- Mega-Satan does not spawn correctly. HOT 5
- [BUG] Краткое описание проблемы | Short issue description HOT 7
- [BUG] HOT 3
- [BUG] 403 Forbidden HOT 1
- [BUG] HOT 2
- Black screen while --luadebug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isaacontwitchreloaded.