Add Image rendering support for ImGui

- Fix alpha channel bug being set to 0
This commit is contained in:
Thraix
2023-07-13 21:17:42 +02:00
parent cb120ef731
commit f9fb74ba6a
7 changed files with 83 additions and 34 deletions
+1 -1
View File
@@ -8,5 +8,5 @@ layout(location = 0) out vec4 outColor;
void main()
{
outColor = vec4(texture(texSampler, inTexCoord).rgb, 1.0);
outColor = texture(texSampler, inTexCoord);
}