Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ private boolean modifyMobEffectBlocksSky(boolean original) {

// Entity Shaders

@ModifyExpressionValue(
method = "executeOutline",
at = @At(
value = "FIELD",
target = "Lnet/minecraft/client/renderer/LevelRenderer;currentFrameRendersEntityOutline:Z",
opcode = Opcodes.GETFIELD
)
)
private boolean meteor$allowCustomEntityOutlines(boolean original) {
return original || !framebufferStack.isEmpty();
}

@Inject(method = "render", at = @At("HEAD"))
private void onRenderLevelHead(GraphicsResourceAllocator resourceAllocator, boolean renderOutline, CameraRenderState cameraState, GpuBufferSlice terrainFog, Vector4f fogColor, boolean shouldRenderSky, boolean consistentDepthRequired, CallbackInfo ci) {
PostProcessShaders.beginRender();
Expand Down