Skip to content

Commit

Permalink
Change default gradient lighting threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
mlavik1 committed Feb 23, 2025
1 parent 944c2d9 commit 4b441f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/VolumeObject/VolumeRenderedObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class VolumeRenderedObject : MonoBehaviour

// Minimum and maximum gradient threshold for lighting contribution. Values below min will be unlit, and between min and max will be partly shaded.
[SerializeField, HideInInspector]
private Vector2 gradientLightingThreshold = new Vector2(0.02f, 0.15f);
private Vector2 gradientLightingThreshold = new Vector2(0.005f, 0.02f);

// Gradient magnitude threshold. Voxels with gradient magnitude less than this will not be rendered in isosurface rendering mode.
[SerializeField, HideInInspector]
Expand Down

0 comments on commit 4b441f1

Please sign in to comment.