diff options
| author | yum <yum.food.vr@gmail.com> | 2024-11-04 01:04:32 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-11-04 01:04:32 -0800 |
| commit | 5f4b58803d1f1d0c61a031e8563df4024682b328 (patch) | |
| tree | cca8177cb3b370bdb3123c75820a44cc41ca82e1 /atrix256.cginc | |
| parent | 4adbc6dfbf2409f34e11e001db2b434feeeb435f (diff) | |
Add noise mask option to cutout shading mode
Diffstat (limited to 'atrix256.cginc')
| -rw-r--r-- | atrix256.cginc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/atrix256.cginc b/atrix256.cginc index 5236715..3eb164c 100644 --- a/atrix256.cginc +++ b/atrix256.cginc @@ -33,5 +33,10 @@ float ign(float2 screen_px) { 0.00583715 * screen_px.y, 1), 1); } +float ign_anim(float2 screen_px) { + float frame = frac(_Time[0]*.0005) * 64; + return ign(screen_px + frame * 5.588238f); +} + #endif // __ATRIX256_INC |
