Skip to content

Latest commit

 

History

History
106 lines (62 loc) · 2.12 KB

properties.md

File metadata and controls

106 lines (62 loc) · 2.12 KB

shaders.properties

Implementation Support

  • ❌ ShadersMod
  • ✔️ OptiFine
  • ✔️ Iris

Rendering detail toggles

Clouds mode

Allows shader packs to control the cloud rendering.

Representation

enum CloudsMode {
	fast,
	fancy,
	off
} clouds;

Example

# Disable clouds with this shader pack
clouds=fancy

Default

No change. If this option is not present then the clouds render in the way that the user has chosen.

Backwards compatibility

Old Hand Lighting

Allows old pre-1.9 shader packs to explicitly opt in to the old hand lighting mode. See the documentation for "Held block light value" in Uniforms:

If the "Old Hand Lighting" option is set, and the light value of the block in the off hand is higher than the light value of the block in the main hand, then this uniform takes on the value of heldBlockLightValue2. This is to support older (pre-1.9 or non-OptiFine) shader packs that do not support the off hand.

Users may override this setting in the shader configuration menu.

Representation

boolean oldHandLight;

Example

# Enable old hand lighting since this is a legacy 1.8.x shaderpack
oldHandLight=true

Default

false. The shader pack loader MAY attempt to auto-detect when it is appropriate to use a value of true for this setting (such as when the shader pack does not reference the off hand light values) but this is not guaranteed.

Implementation Support

  • ❌ ShadersMod
  • ✔️ OptiFine
  • ✔️ Iris

Mod compatibility

Dynamic Hand Lighting

Allows a shader pack to control whether dynamic hand lighting mods are enabled or disabled.

With OptiFine, this controls its Dynamic Hand Lighting feature. However, for Iris it would be good to have LambDynamicLights integration so that shader packs can disable dynamic hand lighting in a similar way.

Representation

boolean dynamicHandLight;

Example

# Since this shader pack 
dynamicHandLight=false

Default

true

Implementation Support

  • ❌ ShadersMod
  • ✔️ OptiFine
  • ❌ Iris