Skip to content

profile

The profile directive allows defining of profiles, which are preconfigured sets of user options selectable through a <profile> button in the “Shader Pack Settings” screen. For more info on shader options, see shaders.properties.

Options can be added to the “Shader Pack Settings” screen by adding them to the screen list as follows:

profile.<name> = <list_of_options>

<name> should be replaced with the name of the profile, and <list_of_options> can be replaced with a space separated list of any of the following:

formatdescription
OPTION:value OPTION=valueset the value of OPTION to value
OPTIONset boolean option OPTION “on”
!OPTIONset boolean option OPTION “off”
profile.PROFILE_NAMEinclude all options from profile PROFILE_NAME
!program.PROGRAM_NAMEdisable program PROGRAM_NAME, may include dimension (e.g. world1/composite5)

Example

Here’s a free example

profile.LOW = !SSAO ShadowType=1 SSR:false !program.composite2
profile.MED = SSAO ShadowType=2 SSR:false !program.composite2
profile.HIGH = SSAO ShadowType=3 SSR:true