ShaderPatch: separate data and user config
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
[Config]
|
||||
# As of 1 November 2019, this is just data about config, to be used for UI generation and default values.
|
||||
# User config data is stored in ShaderPatchConfig.ini
|
||||
|
||||
# Patches to remove glitching with modern GPUs.
|
||||
# Appropriate patches will automatically be selected based on your GPU.
|
||||
Compat=1
|
||||
@@ -31,14 +34,6 @@ Toon_Lines_Val2=0.75
|
||||
# Thickness Offset(?)
|
||||
Toon_Lines_Val3=0.75
|
||||
|
||||
# Debug patches:
|
||||
# Nametags
|
||||
# Adds comments with the shader file name to the shader text. Useful for debugging issues.
|
||||
# `nametags_val1` and `nametags_val2` are a dirty hack to hide this in launcher (options ending in _val. must belong to a parent to be displayed)
|
||||
# `nametags_val2` is a bit faster, but the tags are placed at the end of the file and you may not like that
|
||||
Nametags_Val1=0
|
||||
Nametags_Val2=0
|
||||
|
||||
[Patches]
|
||||
# Compatibility patches:
|
||||
# Star Story (and etc.) stage corruption (Maxwell+)
|
||||
@@ -65,5 +60,5 @@ tone_map_npr1.*=cfg:toon_lines||from:MAD density.w, density.x, 0.7, 0.25;||to:MA
|
||||
# * `(\r?\n)` is used to capture the line ending type used and ensure we're at the start of a line
|
||||
# * `[^!]` ensures the comment is inserted after all start program lines (not sure if this even matters)
|
||||
# * `[\s\S]` matches all characters *including* new lines
|
||||
.*=cfg:nametags_val1||from:(\r?\n)([^!][\s\S]*)||to:$1#<fname>$1$2
|
||||
.*=cfg:nametags_val2||from:[\s\S]*?(\r?\n)[\s\S]*||to:$&$1#<fname>
|
||||
.*=cfg:nametags1||from:(\r?\n)([^!][\s\S]*)||to:$1#<fname>$1$2
|
||||
.*=cfg:nametags2||from:[\s\S]*?(\r?\n)[\s\S]*||to:$&$1#<fname>
|
||||
@@ -0,0 +1,40 @@
|
||||
[Config]
|
||||
# Patches to remove glitching with modern GPUs.
|
||||
# Appropriate patches will automatically be selected based on your GPU.
|
||||
Compat=1
|
||||
|
||||
# Lyb's toon shader improvements (24 sept 2019)
|
||||
# Toon: Adjusts toon shader lighting
|
||||
Toon=0
|
||||
# Specular Multiplier
|
||||
Toon_Val1=0.9
|
||||
# Specular Offset
|
||||
Toon_Val2=-0.5
|
||||
|
||||
# Lyb's toon shader improvements (24 sept 2019)
|
||||
# Toon_Eyes: Adjusts toon shader eyes
|
||||
Toon_Eyes=0
|
||||
|
||||
# Lyb's toon shader improvements (24 sept 2019)
|
||||
# Toon_Hair: Adjusts toon shader hair
|
||||
Toon_Hair=0
|
||||
# Diffuse Brightness
|
||||
Toon_Hair_Val1=1.25
|
||||
|
||||
# Lyb's toon shader improvements (24 sept 2019)
|
||||
# Toon_Lines: Adjusts toon shader outlines
|
||||
Toon_Lines=0
|
||||
# ???
|
||||
Toon_Lines_Val1=0.75
|
||||
# Thickness Multiplier(?)
|
||||
Toon_Lines_Val2=0.75
|
||||
# Thickness Offset(?)
|
||||
Toon_Lines_Val3=0.75
|
||||
|
||||
# Debug patches:
|
||||
# Nametags
|
||||
# Adds comments with the shader file name to the shader text. Useful for debugging issues.
|
||||
# You only need to enable one of these.
|
||||
# `nametags2` is a bit faster, but the tags are placed at the end of the file and you may not like that.
|
||||
Nametags1=0
|
||||
Nametags2=0
|
||||
Reference in New Issue
Block a user