orillusion / orillusion-webgpu-samples Goto Github PK
View Code? Open in Web Editor NEWBasic WebGPU samples from Orillusion
Home Page: https://orillusion.github.io/orillusion-webgpu-samples/
License: Other
Basic WebGPU samples from Orillusion
Home Page: https://orillusion.github.io/orillusion-webgpu-samples/
License: Other
Cause error when running example in firefox nightly.
It output following error message:
Uncaught (in promise) TypeError: GPUDevice.createRenderPipelineAsync: 'layout' member of GPUPipelineDescriptorBase is not an object.
initPipeline basicTriangleMsaa.ts:57
run basicTriangleMsaa.ts:87
FIrefox Nightly Version: 105.0a1 (2022-08-03) (64 位)
System: MacOS Monterey
basic lights示例中,我注释掉点光源相关的代码时,并没有看到平行光所产生的的效果。
I'm using the examples to learn webgpu.
One observation is that if i change vite to host on non-localhost via 'vite --host 0.0.0.0', webgpu support is lost when i use the ip url rather than localhost:3000. If i use localhost:3000, then webgpu support is present.
Even when the browser is on the same system. I wanted to use this these examples to test webgpu from firefox/chrome running on a few different linux distributions.
I'll look deeper into where there may be any logic that distinguishes localhost in some way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.