FANDOM


Camera depth

 Name Edit

Camera depth texture

Synopsis Edit

vector4 CameraDepRGBa(vector2 Texcoord, vector2 dx, vector2 dy);
vector3 CameraDepRGB(vector2 Texcoord, vector2 dx, vector2 dy);
vector1 CameraDep_a(vector2 Texcoord, vector2 dx, vector2 dy);
vector3 Normal(vector2 Texcoord, vector2 dx, vector2 dy);

Parameters Edit

Texcoord

Texture coordinates.
dx
Pre computed derivative along the x axis.
dy
Pre computed derivative along the y axis.

Description Edit

This is a minimalistic G-buffer Texture that can be used for post-processing effects or to implement custom lighting models (e.g. light pre-pass).

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.