GEngine-js / GEngine

Rendering engine based on webgpu
https://gengine-js.github.io/Docs/
131 stars 8 forks source link

wgsl file rollup packaging plugin #14

Closed ruofeng618 closed 1 year ago

ruofeng618 commented 1 year ago

WGSL文件导出,考虑可以导出多个字符串, shader文件https://github.com/GEngine-js/GEngine/blob/main/src/shader/shaderChunk/normal/getNormalBackUp.ts

ruofeng618 commented 1 year ago

@alanwhy

ruofeng618 commented 1 year ago

13