- Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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'(also leads toExpected 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(leads to `Identifier 'colors' is undefined.')
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)))),armsnyder
Metadata
Metadata
Assignees
Labels
No labels