patriciogonzalezvivo / lygia

LYGIA, it's a granular and multi-language (GLSL, HLSL, WGSL, MSL and CUDA) shader library designed for performance and flexibility
https://lygia.xyz
Other
2.53k stars 163 forks source link

feat: add cnoise wgsl #171

Closed dmnsgn closed 1 month ago

dmnsgn commented 1 month ago

I originally ported it in my WebGPU engine a few years back: https://github.com/dmnsgn/dgel/blob/main/src/shaders/noise/classic.wgsl.ts

And tested it with the following example: https://dmnsgn.github.io/dgel/?id=instancing

Let me know if I need to update the contributors list or any other form of docs.

patriciogonzalezvivo commented 1 month ago

Thank you!