Age Verification
This website contains age-restricted material including nudity and explicit content. By entering, you confirm being at least 18 years old or the age of majority in the jurisdiction you are accessing the website from.
I am 18+ or older - Enter
I am under 18 - Exit
Our parental controls page explains how you can easily block access to this site.

Ostatnie posty - Strona 494

  Forum

Wyldanimal
MODERATOR
Dołączył: Mar 2008
17487 post(y/ów)

Discussions for Scenes for Version 1.2.X Fullscreen Mode here

Wszystko o iStripper
August 18, 2021, 5111 odpowiedzi
I start by deleting the vghd.log file so it is empty
Then I start the Scene, and exit the scene

Now the vghd.log file, ONLY contains the scene error log.

The error will be listed in the top couple of lines.

Here is the error reported.

2021-08-18T01:40:56[] WARNING[QOpenGLShader::compile(Fragment): ERROR: 4:120:= : cannot convert from "2-component vector of highp float to highp float"
ERROR: 4:183: assign : cannot convert from "3-component vector of highp float" to "highp float"]
2021-08-18T01:40:56[] WARNING[*** Problematic Fragment shader source code ***

I wish it told us what the name of the Shader is, instead of just listing the Shaders code.
it is shader
AnotherTunnel_shadertoydotcom_BoyC_TheCave_MsX3RH_ETModGo1.fsh
when you open it with notepad++
you see line numbers along the left side.
these correspond to the line number reported in the error codes.

see there are Two Errors
ERROR: 4:120
ERROR: 4:183

I start at the highest line number, because if you make change in the lower line number, it alters the High line number count.

So error 4 on line 183

line 183 is
lv=length(tpn)*(lp-Pos)*3.14159265; //related shadows to tpn ~ET
lv is a float but tpn is a vec3 and lp-Pos is a vec3 so it is a conversion error

my quick fix was to define a new vec3
and then use the swizzle of that which fixes the conversion error
vec3 lvn=length(tpn)*(lp-Pos);
lv=(lvn.x)*3.14159265; //related shadows to tpn ~ET


now I looked at the error on line 120, also a conversion error
line 120 is
float aspect=iResolution.xy/iResolution.y;
my Quick fix was to remove the .xy swizzle and make it just a .x swizzle so all sides a just floats
float aspect=iResolution.x/iResolution.y;

that's it...
TheEmu
Dołączył: Jul 2012
7424 post(y/ów)

Discussions for Scenes for Version 1.2.X Fullscreen Mode here

Wszystko o iStripper
August 18, 2021, 5111 odpowiedzi
The "unknown curve 'pingpong' for node ''" " message is due to a common error in the .scn file, not the shader. Almost any misspelled of values there are replaced with a default, valid, value rather than be treated as an error.

In quite a few .scn files the order of the values for curve type and the repeat type are reversed so with the result being that the curve type used is "linear" and the repeat type is "forward" rather than what the writer thought that they had specified.

I regard being "nice" in this way as unfriendly behaviour, I would much rather see the error very visibly reported and the scene not run at all until it is fixed. At least we get a warning message - for a long time we did not even get that.

This particular error seems to have been "inherited" from some early examples and now affects quite a lot of scenes. I made a effort to go though all the scenes I have, several thousand of them, to fix this. but that takes a long time and there still may be a few I missed.

In any case it should not be the cause of the problem with this shader, but is worth fixing anyway.

I do remember seeing a similar problem with a shader once before, but I can't remember which scene it affected or whether I found the cause, let alone whether I found a solution. I have a vague memory that it might have been due to an unititialised variable in the shader, but I could be wrong about that.