feat: make car count follow time profile
This commit is contained in:
1 parent
07317ba8e5
commit
7ccdc9929d
2 files changed
+3
-3
No files matched your search
Vendored
+1
-1
@@ -4679,7 +4679,7 @@ var CARP_FRAG_SRC = [
|
||||
// and rests again - no hard popping, no fixed pattern',
|
||||
'float dens = uDens * vDens;',
|
||||
'float h = hash1(vSeed * 7.31 + 17.3);',
|
||||
'float vis = smoothstep(h - 0.16, h + 0.16, dens);',
|
||||
'float vis = smoothstep(h - 0.002, h + 0.002, dens);',
|
||||
'if (vis <= 0.0) discard;',
|
||||
'float life = 700.0 + 2400.0 * hash1(vSeed * 0.371 + 9.4);',
|
||||
'float rest = 60.0 + 900.0 * hash1(vSeed * 0.617 + 3.2);',
|
||||
|
||||
Reference in new issue
Block a user