wgsl include preprocessor; refactor pbr
This commit is contained in:
parent
6040a4430a
commit
a4e56e8d58
10 changed files with 115 additions and 64 deletions
1
src/shaders/wgsl/constants.wgsl
Normal file
1
src/shaders/wgsl/constants.wgsl
Normal file
|
@ -0,0 +1 @@
|
|||
let PI = 3.14159;
|
Loading…
Add table
Add a link
Reference in a new issue