diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-21 12:43:28 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-21 12:43:28 +0200 |
| commit | 856ec4ea996561121c3499af30b0fe5ca78e149c (patch) | |
| tree | 129947b4ae293deb6ad3f07cda2c6dd36703a95c | |
| parent | 74748a6ab8de4a93059c2f39ac46e63db54833e6 (diff) | |
a
| -rw-r--r-- | shaders/shader.frag | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/shader.frag b/shaders/shader.frag index 98c18e10..4dd3d6e2 100644 --- a/shaders/shader.frag +++ b/shaders/shader.frag @@ -19,6 +19,6 @@ void main() { if (enable_lightmap) light *= vec4(texture(lightmap_sampler, frag_light_coord).rgb, 1); color = texture(sampler, frag_texcoords) * light; - if (color.a == 0) - discard; + //if (color.a == 0) + // discard; } |
