vecPortal
vecPNormal
The current view portal position and normalized direction.
This defines the mirror clip plane of the current view.
Algorithm
vecPortal = float4(view.portal_x,view.portal_z,view.portal_y,1.0)
vecPNormal = float4(view.pnormal_x,view.pnormal_z,view.pnormal_y,1.0)
Type
float4
Remarks:
The Y and Z axes
of DirectX vectors are swapped due to the Acknex->DirectX coordinate
system conversion.
See also:
MATERIAL, shaders, shader
parameters, view.portal_x
► latest
version online