iDevGames Forums
GLSL (using CG compilation) - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: GLSL (using CG compilation) (/thread-3085.html)



GLSL (using CG compilation) - mgf1123 - Aug 18, 2007 10:00 AM

CG code I've had that was converted into GLSL produced the following:
------
dash1_pend_s3_r_0039.x = dot(pend_s3_glstate.pend_matrix.pend_mvp[0], dash1_pend_s3_v_0039);
------

the only thing is "pend_s3_glstate.pend_matrix.pend_mvp[0]" isn't defined anywhere -- there's an error stating this as well. does anybody know what this is supposed to be?

Thanks!


GLSL (using CG compilation) - OneSadCookie - Aug 18, 2007 02:33 PM

looks like your converter is buggy Rasp