#Custom material alpha mode
5 messages · Page 1 of 1 (latest)
It's defined in pbr_types.wgsl, under the names STANDARD_MATERIAL_FLAGS_ALPHA_MODE_* it's a bit barbaric.
file is crates/bevy_pbr/src/render/pbr_types.wgsl in the bevy repo
I think you can import it with the #include syntax and use the flags this way.
no no , that's for setting the value . I have a non-standard material that I set up and I'm trying to retrieve it