Blender V5.3
eevee::lookdev Namespace Reference

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)

Detailed Description

Blit the rendered lookdev spheres onto the combined pass. Also output closest depth for correct intersection with overlays.

Function Documentation

◆ copy_world_main()

void eevee::lookdev::copy_world_main ( CopyWorld & srt,
const uint3 global_id )

This shader is used for:

  • copying the world space lighting just after it has been extracted.
  • rotate the world space lighting into the view following lighting before each frame.

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().

◆ display_frag()

void eevee::lookdev::display_frag ( Display & srt,
const DisplayVertOut & v_out,
DisplayFragOut & frag_out,
float & out_depth )

◆ display_vert()

void eevee::lookdev::display_vert ( Display & srt,
const int vert_id,
const int inst_id,
float4 & out_position,
DisplayVertOut & v_out )