Esempio n. 1
0
 internal void Setup(MotionData motionData, MotionBlur motionBlur, int layerMask)
 {
     // Set data
     m_MotionData     = motionData;
     m_MotionBlur     = motionBlur;
     m_layerMask      = layerMask;
     m_CameraMaterial = new Material(Shader.Find(kCameraShader));
     m_ObjectMaterial = new Material(Shader.Find(kObjectShader));
 }
Esempio n. 2
0
 internal void Setup(MotionBlur motionBlur)
 {
     // Set data
     m_MotionBlur = motionBlur;
     m_Material   = new Material(Shader.Find(kMotionBlurShader));
 }