Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


CgFX Shader Fail

Posted by
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.


All posts, images, and comments are owned by their creators.

[fcache: storing page]