material-maker/addons/material_maker/nodes/preview_f.shader
RodZill4 455dcc7fde Started optimizing 2D preview
float parameters don't trigger shader regeneration anymore
2020-03-13 07:50:04 +01:00

5 lines
73 B
GLSL

vec4 preview_2d(vec2 uv) {
$(code)
return vec4(vec3($(value)), 1.0);
}