So I've been truing to follow the official snapshot of these new cool per-instance uniforms in shaders and didn't quite understand it. When I add instance
prefix, the hint_range
just disappears and is nowhere found and my variable defaults to 0
(in shader's calculations).
I'm using it on sprite2D node
shader_type canvas_item;
instance uniform float opacity : hint_range(0,1) = 1;
void fragment(){
vec4 color = texture(TEXTURE,UV);
color.a-=opacity;
COLOR = color;
}
/
Did anyone figure out what that means, did anyone meet the similar issue?