|
Blender V5.3
|
Classes | |
| struct | CopyWorld |
| struct | Display |
| struct | DisplayFragOut |
| struct | DisplayVertOut |
Functions | |
| void | copy_world_main (CopyWorld &srt, const uint3 global_id) |
| void | display_vert (Display &srt, const int vert_id, const int inst_id, float4 &out_position, DisplayVertOut &v_out) |
| void | display_frag (Display &srt, const DisplayVertOut &v_out, DisplayFragOut &frag_out, float &out_depth) |
Blit the rendered lookdev spheres onto the combined pass. Also output closest depth for correct intersection with overlays.
This shader is used for:
Definition at line 56 of file eevee_lookdev_copy_world.bsl.hh.
References all(), any(), copy_world_main(), equal, global_invocation_id, greaterThanEqual, imageStore(), SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, eevee::reinterpret_as_atlas_coord(), eevee::reinterpret_as_write_coord(), resource_table, spherical_harmonics::rotate(), and sun_direction().
Referenced by copy_world_main().
| void eevee::lookdev::display_frag | ( | Display & | srt, |
| const DisplayVertOut & | v_out, | ||
| DisplayFragOut & | frag_out, | ||
| float & | out_depth ) |
Definition at line 61 of file eevee_lookdev_display.bsl.hh.
References any(), clamp(), display_frag(), distance(), frag_depth, gpu_discard_fragment(), in, out, resource_table, texture(), textureSize(), and float2::x.
Referenced by display_frag().
| void eevee::lookdev::display_vert | ( | Display & | srt, |
| const int | vert_id, | ||
| const int | inst_id, | ||
| float4 & | out_position, | ||
| DisplayVertOut & | v_out ) |
Definition at line 35 of file eevee_lookdev_display.bsl.hh.
References display_vert(), instance_id, out, position, resource_table, textureSize(), vertex_id, and float2::x.
Referenced by display_vert().