Skip to content

Commit

Permalink
Merge pull request IrisShaders#696 from IMS212/trunk-entitycolorfix
Browse files Browse the repository at this point in the history
Fix overlay texture unit, fixes hit flash without shaders
  • Loading branch information
IMS212 authored Aug 21, 2021
2 parents 03203ce + 50059a9 commit 13beb31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/coderbot/iris/texunits/TextureUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
public enum TextureUnit {
TERRAIN(0),
LIGHTMAP(1),
// TODO: Relocate this to a different texture unit, this is used by depthtex0...
OVERLAY(6);
OVERLAY(2);

private final int samplerId;
private final int unitId;
Expand Down

0 comments on commit 13beb31

Please sign in to comment.