gyroid prop: fix bounds

This commit is contained in:
Crispy 2023-08-08 20:24:39 +02:00
parent c9af7c9a1f
commit 15ac2518ce
2 changed files with 2 additions and 2 deletions

View file

@ -295,7 +295,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
type: 3
objectId: d31bcc3e-72e6-4cc9-a179-62e88e68def5
randomNum: 59964531
randomNum: 15360929
--- !u!114 &297009271
MonoBehaviour:
m_ObjectHideFlags: 0

View file

@ -37,7 +37,7 @@ Shader "CrispyPin/Gyroid"
SurfacePoint main(float3 p) {
SurfacePoint d;
d = qRound(mBox(p, 1), 0.01);
d = qRound(mBox(p, 0.98), 0.01);
d = qIntersect(d, mGyroid(p, 16, 0, 0.2), 0.01);
// sdGyroid(p, 12, sin(_Time.y) * UNITY_PI * 0.5, 0.2),
// d.mat = mat(.8, 1);