Batch Renderer 2/2

This commit is contained in:
Isuru Samarathunga
2025-11-02 04:14:47 +05:30
parent 0bffbbf66c
commit 9fafab5145
6 changed files with 49 additions and 21 deletions

View File

@ -10,7 +10,7 @@ layout(set = 2, binding = 0) uniform sampler2D texSampler;
void main()
{
outColor = inVertexColor;
outColor = texture(texSampler, inTexCoord);
if(outColor.w < 0.1)
discard;
}