Structures
Used by 17 shaders
- bevy 0.18.1 — fullscreen_effect.wgsl
- bevy 0.18.1 — post_processing.wgsl
- bevy_anti_alias 0.18.1 — fxaa.wgsl
- bevy_anti_alias 0.18.1 — robust_contrast_adaptive_sharpening.wgsl
- bevy_core_pipeline 0.18.1 — blit.wgsl
- bevy_core_pipeline 0.18.1 — copy_deferred_lighting_id.wgsl
- bevy_core_pipeline 0.18.1 — skybox_prepass.wgsl
- bevy_core_pipeline 0.18.1 — tonemapping.wgsl
- bevy_pbr 0.18.1 — render_sky.wgsl
- bevy_pbr 0.18.1 — resolve_render_targets.wgsl
- bevy_pbr 0.18.1 — sky_view_lut.wgsl
- bevy_pbr 0.18.1 — ssr.wgsl
- bevy_pbr 0.18.1 — transmittance_lut.wgsl
- bevy_pbr 0.18.1 — volumetric_fog.wgsl
- bevy_post_process 0.18.1 — dof.wgsl
- bevy_post_process 0.18.1 — motion_blur.wgsl
- bevy_post_process 0.18.1 — post_process.wgsl
Functions
@vertex
Processes each 3D point in a model before it's drawn
The top-left has UV 0,0, the bottom-left has 0,2, and the top-right has 2,0. This means that the UV gets interpolated to 1,1 at the bottom-right corner of the clip-space rectangle that is at 1,-1 in clip space.