Aikiman
11-10-2010, 08:11 PM
Hi guys,
Im struggling a little with this because my vector math needs improving. Essentially I want to know how I can cull particles that are facing away from the camera.
The particles aimdirection is based on goalWorldNormal0PP.
My understanding is to grab the normalized vector of camera rotation.
Subtract that from each goalWorldNormal0PP
grab the magnitude and use that as a condition to kill the particles but my vectors after subtraction run into the double digits yet both vectors are below one.
Im struggling a little with this because my vector math needs improving. Essentially I want to know how I can cull particles that are facing away from the camera.
The particles aimdirection is based on goalWorldNormal0PP.
My understanding is to grab the normalized vector of camera rotation.
Subtract that from each goalWorldNormal0PP
grab the magnitude and use that as a condition to kill the particles but my vectors after subtraction run into the double digits yet both vectors are below one.
