Skip to content
Snippets Groups Projects
Commit 1808f28d authored by Zanibar Darkstone's avatar Zanibar Darkstone :speech_balloon:
Browse files

I fought the combo box, and the combo box won. Using slider for Shadowres.

parent cfbab704
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
class="shadow_settings"
layout="topleft"
width="350"
height="275"
height="285"
name="shadow_settings">
<text
follows="left|top"
......@@ -44,49 +44,58 @@
height="15"
left="30"
top_pad="4"
width="90"
width="110"
layout="topleft"
tool_tip="(Default: Medium) Controls how detailed shadows are. Settings above 'Medium' are extremely demanding!"
value="Shadow Quality: " />
<combo_box
allow_text_entry="false"
tool_tip="(Default: Medium) Controls how detailed shadows are. Settings above 'Medium' are extremely demanding!"
control_name="RenderShadowResolutionScale"
follows="left|top"
height="16"
tool_tip="(Default: 1.0) Multiplier for shadowmap resolution. Use number input to override safe limits. High multipliers may overload and crash GPU drivers, especially on VRAM-limited systems!"
value="Shadow Resolution: " />
<slider_bar
top_pad="-18"
height="20"
increment=".1"
follows="left|top|right"
layout="topleft"
left="130"
max_chars="128"
name="shadowquality_combo"
top_pad="-16"
width="80">
<combo_box.item
label="Low"
name="shadow_low"
value="0.5" />
<combo_box.item
label="Medium"
name="shadow_med"
value="1.000" />
<combo_box.item
label="High"
name="shadow_high"
value="2.0" />
<combo_box.item
label="Very High"
name="shadow_vhigh"
value="3.0" />
<combo_box.item
label="Ultra"
name="shadow_ultra"
value="4.0" />
</combo_box>
max_val="2"
min_val=".5"
left="140"
right="-75"
name="shadowres_slider"
tool_tip="(Default: 1.0) Multiplier for shadowmap resolution. Use number input to override safe limits. High multipliers may overload and crash GPU drivers, especially on VRAM-limited systems!"
control_name="RenderShadowResolutionScale"/>
<spinner
top_pad="-20"
height="15"
label_width="0"
right="-20"
decimal_digits="1"
follows="top|right"
layout="topleft"
max_val="4"
min_val=".5"
width="55"
increment=".1"
name="shadowres_spinner"
tool_tip="(Default: 1.0) Multiplier for shadowmap resolution. Use number input to override safe limits. High multipliers may overload and crash GPU drivers, especially on VRAM-limited systems!"
control_name="RenderShadowResolutionScale"/>
<button
name="shadowRes_default_btn"
follows="top|right"
layout="topleft"
height="22"
left_delta="55"
top_pad="-15"
width="18"
scale_image="true"
image_overlay="Refresh_Off"
image_overlay_alignment="center">
<button.commit_callback
function="ClickDefault" />
</button>
<text
follows="left|top"
height="15"
left="30"
top_pad="3"
width="70"
width="110"
layout="topleft"
tool_tip="(Default: -0.03) Reduces self-shadowing errors by ignoring faces too close to the shadow's origins. Smaller values allow more fine/accurate shadows at the cost of more shadow errors."
value="Shadow Bias:" />
......@@ -137,7 +146,7 @@
height="15"
left="30"
top_pad="3"
width="80"
width="110"
layout="topleft"
tool_tip="(Default: -0.01) Used to reduce shadow errors by offsetting the entire shadowmap. Smaller values allow more accurate shadows and less light bleed from thin objects at the cost of possible shadow errors at extreme angles from source."
value="Shadow Offset:" />
......@@ -188,7 +197,7 @@
height="15"
left="30"
top_pad="3"
width="90"
width="110"
layout="topleft"
tool_tip="(Default: 0.0) Reduces self-shadowing errors by ignoring faces too close to the shadow's origins. Smaller values allow more fine/accurate shadows at the cost of more shadow errors."
value="Spot Shadow Bias:" />
......@@ -239,7 +248,7 @@
height="15"
left="30"
top_pad="3"
width="105"
width="110"
layout="topleft"
tool_tip="(Default: 0.15) Used to reduce shadow errors by offsetting the entire projector shadowmap. Smaller values allow more accurate shadows and less light bleed from thin objects at the cost of possible shadow errors at extreme angles from source."
value="Spot Shadow Offset:" />
......@@ -290,7 +299,7 @@
height="15"
left="30"
top_pad="3"
width="70"
width="110"
layout="topleft"
tool_tip="(Default: 3.0) Controls both Shadow and SSAO blurring. Low values may cause SSAO noise to become apparent."
value="Shadow Blur:" />
......@@ -341,7 +350,7 @@
height="15"
left="30"
top_pad="3"
width="75"
width="110"
layout="topleft"
tool_tip="(Default: 0.0) Controls how far away from the camera should blurring occur. Larger values reduce blur near the camera. Try using this for shadow sharpening if you encounter SSAO noise when lowering Shadow Blur!"
value="Blur Distance:" />
......
......@@ -21,7 +21,7 @@
height="15"
left="30"
top_pad="4"
width="130"
width="110"
layout="topleft"
tool_tip="NYI!"
value="SSAO Strength:" />
......@@ -74,7 +74,7 @@
height="15"
left="30"
top_pad="3"
width="130"
width="110"
layout="topleft"
tool_tip="(Default: 5.0) Occlusion sensitivity factor, larger = more."
value="SSAO Factor:" />
......@@ -125,7 +125,7 @@
height="15"
left="30"
top_pad="3"
width="130"
width="110"
layout="topleft"
tool_tip="(Default: 1500) Determines distance from surface to check for occlusion. Higher = Wider occlusion NOTE: Large values may produce artifacts."
value="SSAO Scale:" />
......@@ -176,7 +176,7 @@
height="15"
left="30"
top_pad="3"
width="130"
width="110"
layout="topleft"
tool_tip="(Default: 400) Determines max screen radius to use for occlusion. NOTE: Large values may produce artifacts."
value="SSAO Max Scale:" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment