Skip to content
Discussion options

You must be logged in to vote

Take a look at the array texture example for how to reuse and extend the PBR shader functionality. You will basically have to copy and paste pbr.wgsl and add and use your uniform binding to it, make a custom material, specialise the pipeline to modify your layout. Feel free to come and ask on discord. I think we probably need a more complete / extensive example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dragostis
Comment options

Answer selected by dragostis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants