Skip to content

Commit

Permalink
Merge branch 'main' of github.com:wongzingji/KirbyGo
Browse files Browse the repository at this point in the history
  • Loading branch information
wongzingji committed Jan 29, 2023
2 parents 918b1c0 + 2eafc69 commit 2ad3435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KirbyGo_3_0.glsl → KirbyGo_3_1.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// #endif

// parmas
struct Material
struct Material
{
vec3 diffuseAlbedo;
vec3 specularAlbedo;
Expand Down Expand Up @@ -692,7 +692,7 @@ vec4 map( in vec3 pos, float atime )
vec3 vp = vec3( fract(qos.x+0.5)-0.5,qos.y,fract(qos.z+0.5)-0.5);
vp.xz += 0.1*cos( id.x*130.143 + id.y*120.372 + vec2(0.0,2.0) );

float den = sin(id.x*0.1+sin(id.y*0.091))+sin(id.y*0.1);
float den = sin(id.x*1.2+sin(id.y*2.91))+sin(id.y*1.1);
float fid = id.x*0.143 + id.y*0.372;
float ra = smoothstep(0.0,0.1,den*0.1+fract(fid)-0.9);

Expand Down

0 comments on commit 2ad3435

Please sign in to comment.