Skip to content

Commit 9a9e54a

Browse files
committed
* i guess non-flat inline patterns will be fullbright for now :N_Disbelief:
1 parent 47d68cc commit 9a9e54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/src/main/java/at/petrak/hexcasting/interop/inline/InlinePatternRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public int render(InlinePatternData data, GuiGraphics drawContext, int index, St
6363
drawContext.pose().translate(isGlowy ? -1f : 0, isGlowy ? -1.5f : -0.5f, 0f);
6464
int color = trContext.usableColor();
6565
boolean isFlat = InlineRenderer.isFlat(drawContext.pose(), trContext.layerType());
66-
PatternRenderer.renderPattern(data.pattern, drawContext.pose(), !isFlat ? new PatternRenderer.WorldlyBits(drawContext.bufferSource(), trContext.light(), null) : null,
66+
PatternRenderer.renderPattern(data.pattern, drawContext.pose(), !isFlat ? new PatternRenderer.WorldlyBits(drawContext.bufferSource(), LightTexture.FULL_BRIGHT, null) : null,
6767
isGlowy ? INLINE_SETTINGS_GLOWY : INLINE_SETTINGS,
6868
isGlowy ? new PatternColors(color, 0xFF_000000 | glowyParentColor) : PatternColors.singleStroke(color),
6969
0, INLINE_TEXTURE_RES);

0 commit comments

Comments
 (0)