UShader Engine Wikia
Advertisement
Obj space light dir

 Name[]

Obj space light dir

Synopsis[]

 vector3 ObjSpaceLightDir (vector4 xyzw);

Parameters[]

xyzw

Object space direction.

Description[]

Computes object space direction (not normalized) to light, given object space vertex position.

Advertisement