roland
December 6, 2024, 6:25am
1
Hey everyone!
I’ve ported all GreasedLine
shaders to WGSL. You can use all GreasedLine
material types with WebGPU/WGSL. Material types docs
Please keep in mind that you must use RGBA
texures with WebGPU when using your own color textures. You can find some examples here .
In case of issues do not hesitate to submit a bug report and tag me in the message.
Enjoy!
8 Likes
rr_cai
December 6, 2024, 6:40am
2
Thank you for your work . I found that when OIT is enabled, there is no color. And an error occurs when OIT is enabled in WebGPU mode.
PG:https://playground.babylonjs.com/#H1LRZ3#681
1 Like
rr_cai
December 6, 2024, 6:44am
3
OIT functionality doesn’t seem to be finalized, and I’m not sure I should report such issues. If it bothers you.
1 Like
roland
December 6, 2024, 8:14am
4
I’ll add OIT support. Thanks for reporting!
1 Like
roland
December 8, 2024, 5:26pm
5
GRL OIT Support PR:
BabylonJS:master
← RolandCsibrei:master
opened 05:25PM - 08 Dec 24 UTC
PG:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15966/merge/index.html#H1LRZ3#690
2 Likes