-
I'm trying to find a way to render all geometry into a side texture, I was looking at Even though it may not be ideal, I was also looking at simply adding an extra |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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.