mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
30cb95d96e
# Objective assets v2 broke custom shader imports. fix them ## Solution store handles of any file dependencies in the `Shader` to avoid them being immediately dropped. also added a use into the `shader_material` example so that it'll be harder to break support in future.
2 lines
117 B
WebGPU Shading Language
2 lines
117 B
WebGPU Shading Language
// this is made available to the importing module
|
|
const COLOR_MULTIPLIER: vec4<f32> = vec4<f32>(1.0, 1.0, 1.0, 0.5);
|