EEVEE Next: Tag shadowmap usage for transparent object volumes #104580

Merged
Miguel Pozo merged 31 commits from pragma37/blender:pull-eevee-shadows-tag-usage-transparent into main 2023-03-08 13:51:35 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 39ad50fb0e - Show all commits

View File

@ -101,8 +101,8 @@ ShadowTileData shadow_tile_load(usampler2D tilemaps_tx, ivec2 tile_co, int tilem
/**
* This function should be the inverse of ShadowDirectional::coverage_get().
*
* \a lP shading point position in light space relative to the view position
* (shadow_world_to_local - light._position).
* \a lP shading point position in light space, relative to the to camera position snapped to
* the smallest clipmap level (shadow_world_to_local - light._position).
pragma37 marked this conversation as resolved

This is confusing since shadow_world_to_local is a function. Also put backticks ` around code inside comments.

This is confusing since `shadow_world_to_local` is a function. Also put backticks ` around code inside comments.
*/
int shadow_directional_level(LightData light, vec3 lP)
{