material-maker/addons/procedural_material/paint_tool/view2texture.shader
2018-08-19 15:24:01 +02:00

11 lines
169 B
GLSL

shader_type spatial;
render_mode unshaded;
vec3 fix_unshaded(vec3 xy) {
return pow(xy, vec3(2.22));
}
void fragment() {
ALBEDO = fix_unshaded(vec3(UV, VERTEX.z));
}