Open stevenctl opened 3 weeks ago
These are all from the same shader that works just fine in Godot 4.2 stable.
invalid shader include directory
#include "./include/Triplanar.gdshaderinc"
Invalid arguments for function 'textureLod'
Expected return type 'float'
float sampleHeight(vec2 uv) { return textureLod(heightmap, uv, 0).r * height_scale; }
Type mismatch: 'float' and 'vec3'.
vec3 colorRamp(float value) { // Define your color stops vec3 colors[32]; colors[0] = vec3(0.0, 0.0, 0.5); // Dark Blue colors[1] = vec3(1.0, 0.0, 0.0); // Red colors[2] = vec3(0.0, 1.0, 0.0); // Green colors[3] = vec3(1.0, 1.0, 0.0); // Yellow ...
Expected Expression
const uint DEBUG_TEXTURES = uint(8); vec3 colors[DEBUG_TEXTURES];
Function 'smoothstep' does not exist.
smoothstep(0.0, 1.0, abs(dot(worldNormal, vec3(1.0, 0.0, 0.0)))),
Thanks for pointing these out. I'm in the middle of a full re-write right now, the new version should be working 100%. Give me another week or two and it'll be on!
These are all from the same shader that works just fine in Godot 4.2 stable.
invalid shader include directory
Invalid arguments for function 'textureLod'
(also leads toExpected return type 'float'
)Type mismatch: 'float' and 'vec3'.
Expected Expression
(leads to `Identifier 'colors' is undefined.')Function 'smoothstep' does not exist.