summaryrefslogtreecommitdiffstats
path: root/Shaders
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-08-12 14:26:58 -0700
committeryum <yum.food.vr@gmail.com>2023-08-12 14:26:58 -0700
commitc366af9a71a8fb8e5220d73d06ade02bd507a1ec (patch)
tree71194efe3d3b58a3a5a1dad06fc3042863ac8e8d /Shaders
parenta7779ddd57fb1bdb2f27a35005d7d8c1eb691f63 (diff)
Bugfix: ellipsis waits for board
Regression created while optimizing shader. Performance still around 730 microseconds on my computer with this change.
Diffstat (limited to 'Shaders')
-rw-r--r--Shaders/ray_march.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Shaders/ray_march.cginc b/Shaders/ray_march.cginc
index b83722c..52009a9 100644
--- a/Shaders/ray_march.cginc
+++ b/Shaders/ray_march.cginc
@@ -183,7 +183,7 @@ float stt_map(float3 p, out int obj_id, out float2 text_uv)
obj_id = lerp(obj_id, OBJ_ID_FRAME, d < dist);
dist = min(dist, d);
}
- if (_Ellipsis > 0.1) {
+ if (_Ellipsis > 0.1 && _Emerge > .99) {
float3 pp = p;
float3 xoff = float3(.003, 0, 0);