PXC Documentation

PXC Home

Cast Shadow

pre 1.18

Apply light that casts shadow.

Node Data

Display name

Cast Shadow

Internal name

Node_Shadow_Cast

Inheritances

Node_Processor
Node_Shadow_Cast

Inputs

Node_Shadow_Cast

surface

Background

surface

Solid

slider

Bg Threshold

color

Ambient Color

bool

Render Solid

Dynamic Inputs

enum

Type

vec2

Position

float

Radius

slider

Intensity

color

Color

enum

Attenuation

curve

Att. Curve

islider

Banding

bool

Use Soft Light

islider

Density

slider

Soft Light Radius

bool

Use Ao

islider

Ao Radius

slider

Ao Strength

Outputs

Node_Shadow_Cast

surface

Surface Out

surface

Light Mask

Attributes

Color Depth

Cast shadow node use raycast to render shadow from different type of light.




Surfaces Properties


Use Bg Color


Toggle this to use Background as shadow caster.


Bg Threshold


The brightness threshold to consider a pixel in Background as a wall.


Light Properties


Cast shadow requires 2 surfaces. A base Background surface and Solid surface act as a shadow caster.


You can check Use Bg Color to use Background for both background and shadow caster.


Light Type


Type of light:



Light Intensity


The brightness of the light.


Light Radius


Point type, radius of the light.


Light Position


Position of the light, for Sun type, the position determine the light direction.


Soft Shadow Properties


Light Density


Amount of lights used to render soft shadow.


Soft Light Radius


Radius for the ligths cluster, larger radius will increase the width of the soft shadow.


Render Properties


Banding


Discretize light intensity to a number of steps.


Attenuation


Point type, a curve controling how the light got dimmer per distance.


Light Color


Color of the light


Ambient Color


Base ambient color


Render Solid


Whether to draw Solid in the final render.


Ambient Occlusion Properties


Ambient Occlusion


Size of the AO effects.


Ambient Occlusion Strength


Intensity, darkness of the effect.



Related Links