10 lines
362 B
Plaintext
10 lines
362 B
Plaintext
|
|
shader_type spatial;
|
||
|
|
uniform float heat=0.0;
|
||
|
|
varying vec3 local;
|
||
|
|
void vertex(){local=VERTEX;VERTEX.y+=heat*.018*sin(TIME*9.+VERTEX.x*16.)*cos(VERTEX.z*13.-TIME*7.);}
|
||
|
|
void fragment(){
|
||
|
|
float ripples=sin(length(local.xz)*38.-TIME*8.)*.5+.5;
|
||
|
|
ALBEDO=mix(vec3(.10,.17,.035),vec3(.36,.46,.10),ripples*.6+heat*.3);
|
||
|
|
ROUGHNESS=.28;EMISSION=vec3(.23,.09,.01)*heat*.2;
|
||
|
|
}
|