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!
9 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
January 6, 2025, 5:59pm
6
BabylonJS:master
← RolandCsibrei:grl-oit
opened 04:21PM - 05 Jan 25 UTC
Added OIT support to `GreasedLinePluginMaterial`, both GLSL and WGSL.
`GreasedL… ineSimpleMaterial` doesn't support `alpha` so it was not changed.
It’s been already merged.
5 Likes