NYXEngine/src/plugins/cache/resource/embeded/shaders/pbr.wgsl

12 lines
239 B
WebGPU Shading Language
Raw Normal View History

@vertex
fn vs_main(
2026-07-29 01:15:31 +01:00
@location(0) in_vertex_position: vec2f
) -> @builtin(position) vec4f {
2026-07-29 01:15:31 +01:00
return vec4f(in_vertex_position, 0.0, 1.0);
}
@fragment
fn fs_main() -> @location(0) vec4f {
2026-07-29 01:15:31 +01:00
return vec4f(0.001, 0.001, 0.001, 1.0);
}