{"author_name":"jovoc","cat":"LD #13 - Roads - 2008","comments":[],"epoch":1228671240,"likes":0,"metadata":{"p_key":"74255","p_author":"jovoc","p_authorkey":"34","p_urlkey":"110087","p_title":"CgFX Shader Fail","p_cat":"LD #13 - Roads - 2008","p_event":"LD13","p_time":"1228671240","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"34","us_name":"jovoc","us_username":"jovoc","event_start":"1228435200","event_key":"92","event_name":"LD13"},"text":"<p>I kept fighting with the CgFX stuff this morning, but I couldn&#8217;t get it to work. The docs make it sound like it&#8217;s as simple as calling cgGLSetupSampler( samplerParam, myTextureId ); but i can&#8217;t get it to work. \u00a0I&#8217;m sure it&#8217;s something simple but I&#8217;m running out of time.<\/p>\n <p>So I&#8217;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.<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/words.jpg\"><img class=\"alignnone size-medium wp-image-4072\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/words-300x154.jpg\" alt=\"\" width=\"300\" height=\"154\" \/><\/a><\/p>\n <p>It&#8217;s not like I would have had time to get the shaders looking good anyways. Now that I&#8217;ve got words displayed, it&#8217;s time to try and get the gameplay going by the end of the day.<\/p>","time":"December 7th, 2008 12:34 pm","title":"CgFX Shader Fail"}