Skip to content

Commit

Permalink
CUTOUT_EMISSIVE_SOLID now renders full bright as it uses the beacon b…
Browse files Browse the repository at this point in the history
…eam and not the warden's shader
  • Loading branch information
UnlikePaladin committed Jan 25, 2024
1 parent 11720d1 commit 188f8c1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -91,9 +91,9 @@ public FiguraRenderType(String name, VertexFormat vertexFormat, VertexFormat.Mod

private static final BiFunction<ResourceLocation, Boolean, RenderType> CUTOUT_EMISSIVE_SOLID = Util.memoize(
(texture, affectsOutline) ->
create("figura_cutout_emissive_solid", DefaultVertexFormat.NEW_ENTITY, VertexFormat.Mode.QUADS, 256, true, true,
create("figura_cutout_emissive_solid", DefaultVertexFormat.BLOCK, VertexFormat.Mode.QUADS, 256, true, true,
CompositeState.builder()
.setShaderState(RENDERTYPE_ENTITY_TRANSLUCENT_EMISSIVE_SHADER)
.setShaderState(RenderStateShard.RENDERTYPE_BEACON_BEAM_SHADER)
.setTextureState(new RenderStateShard.TextureStateShard(texture, false, false))
.setTransparencyState(TRANSLUCENT_TRANSPARENCY)
.setCullState(NO_CULL)
Expand Down

0 comments on commit 188f8c1

Please sign in to comment.