Skip to content

Commit

Permalink
Fixed BGFX error while building shaders for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
EAGLE1309 committed Oct 14, 2023
1 parent c8d269e commit f72d941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/newb_legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ float wavesDisp(vec3 pos, highp float t){

// Generate Perlin noise values based on the position
float noise1 = perlinNoise(xy);
float noise2 = perlinNoise(xy + vec2(1.0));
float noise2 = perlinNoise(xy + vec2_splat(1.0));

// Use the generated noise values to add randomness to the displacement
return mix(noise1, noise2, val);
Expand Down

0 comments on commit f72d941

Please sign in to comment.