brendan-duncan / wgsl_reflect Sponsor Star 206 Code Issues Pull requests Discussions A WebGPU Shading Language parser and reflection library for Javascript. javascript webgpu wgsl Updated Mar 4, 2025 TypeScript altunenes / rusty_art Sponsor Star 187 Code Issues Pull requests Creative coding ...
向量函数,如dot、cross、normalize。此外,由于经常使用光照计算,还有reflect、refract和faceforward函数。 矩阵函数,如matrixCompMult、outerProduct、transpose、inverse。 打包函数,如pack4x8snorm。基本上,它只是取一个向量并将其打包成一个 32 位整数。snorm后缀意味着向量被归一化到 [-1, 1] 的范围内。这样的函...
I am still scratching my head over why not just use GLSL instead of creating WGSL as a new shader language? I even saw references to: https://xkcd.com/927/ in the propsed FAQ 😆 All browser already takes GLSL input (for WebGL) so would as...
wgsl: Stub tests for reflect builtin (gpuweb#1327) … Verified b09a65d Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Reviewers kvark Assignees No one assigned Labels wgsl Projects WGSL Done Milestone Milestone 0 Development Succes...