Skip to content

Commit 73c714c

Browse files
authored
add screen titles
1 parent ef291ff commit 73c714c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/content/docs/current/Reference/Shaders.Properties/shader_settings.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ option.SSBO = Ambient Occlusion
175175
```
176176

177177
#### Value Labels
178-
Value labels replace the display name of a specific value of a non-boolean shader option. They can be specified with `value.<option_name>.<value> = <value_label>` in a lang file. Replace `<option_name>` with the options name as defined in shaders.properties, `<value>` with value to replace, and `<value_label>` with the user-friendly value label to be displayed in the shader options screen. For example:
178+
Value labels replace the display name for a value of a non-boolean shader option. They can be specified with `value.<option_name>.<value> = <value_label>` in a lang file. Replace `<option_name>` with the options name as defined in shaders.properties, `<value>` with value to replace, and `<value_label>` with the user-friendly value label to be displayed in the shader options screen. For example:
179179

180180
```properties title=".lang file"
181181
value.Shadow_Type.0=off
@@ -191,6 +191,12 @@ prefix.Shadow_Type = (
191191
suffix.Shadow_Type = )
192192
```
193193

194+
#### Screen Labels
195+
Screen labels replace the display name of a sub-screen. They are specified with `screen.<screen_name> = <title>`. For example
196+
```properties title=".lang file"
197+
screen.ATMOSPHERICS = Atmospherics
198+
```
199+
194200
#### Option Tooltips
195201
Option tooltips are shown in a tooltip when the user hovers over the shader option. They can be specified with `option.<option_name>.comment = <comment>` in a lang file. Replace `<option_name>` with the options name as defined in shaders.properties, and `<comment>` with the tooltip comment to be displayed in the shader options screen. For example:
196202

0 commit comments

Comments
 (0)