Closed 3c1u closed 5 years ago
Also fixed the shader compilation error on macOS.
layout (location = 0) in vec2 out_tex_coords; // consumes `out_tex_coords` from a vertex shader.
...
vec4 color = texture(us_tex0, out_tex_coords); // uses texture instead of texture2D (deprecated)
I don't know if this works on Windows.
Ah ye, didn't notice I was using a deprecated function there. The name of the input variable doesn't matter though since i've linked them with the layout (location = 0)
attribute from what I know.
Even though the layout is specified, the shader compiler on macOS warns (and panics) saying that “out_**” was not used. I don’t know why.
Huh interesting, well it doesn't really matter anyways.
Not using
DynamicFlags::IS_VISIBLE
flag on drawing masks.