CgFX Shader Fail

Posted by (twitter: @joeld42)
December 7th, 2008 12:34 pm

I kept fighting with the CgFX stuff this morning, but I couldn’t get it to work. The docs make it sound like it’s as simple as calling cgGLSetupSampler( samplerParam, myTextureId ); but i can’t get it to work.  I’m sure it’s something simple but I’m running out of time.

So I’ve ripped out all the shader code (kept a backup to try to to fix it later), and am back to using regular opengl, and drawing the letters with overlays (quads) instead of fancy shader tricks. Sigh.

It’s not like I would have had time to get the shaders looking good anyways. Now that I’ve got words displayed, it’s time to try and get the gameplay going by the end of the day.

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]