Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


#ActualAlundra

Posted 21 April 2014 - 10:35 AM


 

Also, instead of working out the model view proj matrix on the CPU, do the multiplication in your shader.

Never perform matrix multiplication in a shader. All matrices that will be used in the shader should already be precomputed on the CPU.


L. Spiro

 

 

Except for skinning, but I agree with L. Spiro because you have to have in mind this mul will be done on each vertex or each pixel.


#2Alundra

Posted 21 April 2014 - 10:35 AM


 

Also, instead of working out the model view proj matrix on the CPU, do the multiplication in your shader.

Never perform matrix multiplication in a shader. All matrices that will be used in the shader should already be precomputed on the CPU.


L. Spiro

 

 

Except for skinning, but I agree with L. Spiro because you have to have in mind this mul will be done each vertex or each pixel.


#1Alundra

Posted 21 April 2014 - 10:34 AM


 

Also, instead of working out the model view proj matrix on the CPU, do the multiplication in your shader.

Never perform matrix multiplication in a shader. All matrices that will be used in the shader should already be precomputed on the CPU.


L. Spiro

 

 

Except for skinning, but I agree with L. Spiro because you have to have in mind this mul will be bone each vertex or each pixel.


PARTNERS