IVSmoke 1.0
Loading...
Searching...
No Matches
FIVSmokeDepthWritePS Class Reference

#include <IVSmokeShaders.h>

Inheritance diagram for FIVSmokeDepthWritePS:
Inheritance graph
Collaboration diagram for FIVSmokeDepthWritePS:
Collaboration graph

Public Member Functions

 DECLARE_GLOBAL_SHADER (FIVSmokeDepthWritePS)
 
 SHADER_USE_PARAMETER_STRUCT (FIVSmokeDepthWritePS, FGlobalShader)
 

Static Public Member Functions

static bool ShouldCompilePermutation (const FGlobalShaderPermutationParameters &Parameters)
 

Static Public Attributes

static constexpr const TCHAR * EventName =
 

Detailed Description

Pre-Pass Depth Write pixel shader. Writes smoke depth for correct translucent sorting. Only writes depth for nearly opaque pixels (Alpha >= 0.99).

Definition at line 361 of file IVSmokeShaders.h.

Member Function Documentation

◆ ShouldCompilePermutation()

static bool FIVSmokeDepthWritePS::ShouldCompilePermutation ( const FGlobalShaderPermutationParameters &  Parameters)
inlinestatic

Smoke world position + depth from ray march. Smoke local position + alpha from ray march. Linear sampler with clamp addressing. Camera forward direction. Camera world position. Viewport size for UV calculation. ViewRect minimum offset. Depth bias in centimeters. Alpha threshold for depth write. Projection matrix element [2][2] for depth conversion. Projection matrix element [3][2] for depth conversion.

Definition at line 396 of file IVSmokeShaders.h.

Member Data Documentation

◆ EventName

constexpr const TCHAR* FIVSmokeDepthWritePS::EventName =
staticconstexpr

Definition at line 364 of file IVSmokeShaders.h.


The documentation for this class was generated from the following file: