Blender  V3.3
Functions
workbench_transparent.c File Reference
#include "DRW_render.h"
#include "ED_view3d.h"
#include "workbench_engine.h"
#include "workbench_private.h"

Go to the source code of this file.

Functions

void workbench_transparent_engine_init (WORKBENCH_Data *data)
 
static void workbench_transparent_lighting_uniforms (WORKBENCH_PrivateData *wpd, DRWShadingGroup *grp)
 
void workbench_transparent_cache_init (WORKBENCH_Data *vedata)
 
void workbench_transparent_draw_depth_pass (WORKBENCH_Data *data)
 

Detailed Description

Transparent Pipeline:

Use Weight Blended Order Independent Transparency to render transparent surfaces.

The rendering is broken down in two passes:

An additional re-render of the transparent surfaces is sometime done in order to have their correct depth and object ids correctly written.

Definition in file workbench_transparent.c.

Function Documentation

◆ workbench_transparent_cache_init()

void workbench_transparent_cache_init ( WORKBENCH_Data vedata)

◆ workbench_transparent_draw_depth_pass()

void workbench_transparent_draw_depth_pass ( WORKBENCH_Data data)

◆ workbench_transparent_engine_init()

void workbench_transparent_engine_init ( WORKBENCH_Data data)

◆ workbench_transparent_lighting_uniforms()

static void workbench_transparent_lighting_uniforms ( WORKBENCH_PrivateData wpd,
DRWShadingGroup grp 
)
static