branchsbox/foliage-shadercancel

4 Commits over 0 Days - ∞cph!

1 Year Ago
Foliage shader: Add standard vertex color based procedural animation based on http://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch16.html Some additional changes here to Material API so we don't need to double sample for opacity & removal of dead code. Documentation: https://wiki.facepunch.com/sbox/Foliage_Shader https://files.facepunch.com/matt/1b1111b1/sbox-dev_3qi13Ck52s.mp4
1 Year Ago
Undo hack inverting green channel, should be fixed on authored assets
1 Year Ago
Iterate, sort of done.. Need to derive wind params from game
1 Year Ago
Remove vr foliage animation from common vs code Material API shouldn't need to double sample for opacity.. have a look at this @Sam Update foliage to have basic artist defined animation based on vertex colors Update tree materials with foliage animation params