Replace iron maiden with textured Meshy model and working hinged doors
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
shader_type spatial;
|
||||
render_mode blend_add, depth_draw_never, unshaded, shadows_disabled;
|
||||
uniform float heat=0.0;
|
||||
varying float model_height;
|
||||
void vertex(){ model_height=VERTEX.y; }
|
||||
void fragment(){
|
||||
float warmth=heat*(.35+.65*(1.0-smoothstep(0.0,2.8,model_height)));
|
||||
ALBEDO=vec3(1.0,.07,.003)*warmth*warmth*.22;
|
||||
ALPHA=heat*.45;
|
||||
}
|
||||
Reference in New Issue
Block a user