- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
esfog · Sep 10, 2014 at 11:21 PM ·
About the row major,CG really use row major?
Recently,I learned OpenGL,I am confusing about the row major and row major today. In OpenGL's vertex Shader I see gl_Position = MVP*vertex,I can understand this because it is column major. some books say Cg is row major,if it is true,why we use "oPosition = mul(UNITY_MATRIX_MVP,v.vertex)" in the vertex shader written in CG.I think it is same as "gl_Position = MVP*vertex".the v.vertex treated as column vector.
This problem have maked me confusing for a very long time! I need your help friend!
This is my first time ask question in English,my english is not very well.thanks!
Comment
Your answer
Follow this Question
Related Questions
I am trying to change rows and column to x and z 1 Answer
ListView like android 0 Answers
How to move cells in a 2d array 0 Answers
Object not showing up in Unity 1 Answer