pub fn skybox_cubemap_vertex(
camera_id: Id<CameraDescriptor>,
vertex_index: u32,
slab: &[u32],
local_pos: &mut Vec3,
gl_pos: &mut Vec4,
)Expand description
Vertex shader that draws a cubemap.
Uses the instance_index as the Id for a CameraDescriptor.
Used to create a cubemap from an equirectangular image as well as cubemap convolutions.