Revive forge lighting pipeline, disabled by default for now

Remove a lot of light value convolution by using 0..1 for nearly everything
Fix a lot of TODOs that are needed for the lighting pipeline to function
Potential fix for #6425
This commit is contained in:
tterrag committed 2020-04-07 21:44:15 -04:00
1 parent cf9b1b2193
commit d84a88d78d
7 files changed
+102 -68

No files matched your search

@@ -127,6 +127,7 @@ public class ForgeConfig
public final BooleanValue alwaysSetupTerrainOffThread;
public final BooleanValue forgeLightPipelineEnabled;
public final BooleanValue experimentalForgeLightPipelineEnabled;
public final BooleanValue selectiveResourceReloadEnabled;
@@ -162,6 +163,10 @@ public class ForgeConfig
.comment("Enable the Forge block rendering pipeline - fixes the lighting of custom models.")
.translation("forge.configgui.forgeLightPipelineEnabled")
.define("forgeLightPipelineEnabled", true);
experimentalForgeLightPipelineEnabled = builder
.comment("EXPERIMENTAL: Enable the Forge block rendering pipeline - fixes the lighting of custom models.")
.translation("forge.configgui.forgeLightPipelineEnabled")
.define("experimentalForgeLightPipelineEnabled", false);
selectiveResourceReloadEnabled = builder
.comment("When enabled, makes specific reload tasks such as language changing quicker to run.")