constant buffers direct x 11
Posted 11 May 2012 - 07:45 AM
doesnt match up with
cbuffer cb0 : register( b1 )
in the shader... like it unaligns or something, what could cause this? (even though this example works, but sometimes when i add a variable all hell breaks loose)
Posted 11 May 2012 - 04:25 PM
How are your VEC, MAT and "matrix" types defined?
Posted 11 May 2012 - 05:28 PM
VEC is the 3 component vector, and MAT is a 4x4... so i guess the 3 component vector was the strange one.
Posted 11 May 2012 - 05:36 PM
thanks reed - you the man.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users