{"id":227,"date":"2015-03-10T22:08:55","date_gmt":"2015-03-10T22:08:55","guid":{"rendered":"http:\/\/www.kf5rsx.com\/?p=227"},"modified":"2015-03-10T22:08:55","modified_gmt":"2015-03-10T22:08:55","slug":"retroarch-quick-glsl-shader-recompile","status":"publish","type":"post","link":"https:\/\/www.thepoorgeek.com\/techblog\/2015\/03\/10\/retroarch-quick-glsl-shader-recompile\/","title":{"rendered":"Retroarch quick glsl shader recompile"},"content":{"rendered":"<p>Playing with RetroPie\/Retroarch on the Raspberry Pi 2, I found the glsl shader selection to be lacking somewhat, especially in the retro visual department.<br \/>\nSpecifically I wanted to play with the ntsc and crt filters from the main Retroarch common-shader tree, but they&#8217;re all Cg shaders.<br \/>\nThe NTSC shader chains tend to fail, don&#8217;t really know why. crt-caligari.glsl works a treat.<br \/>\nSo here it is, the common-shaders tree from the libretro git on 10\/3\/2015. Do with it what you will, I take no responsibility for it blowing up your Pi\/Pi2.<br \/>\n<a href=\"http:\/\/www.kf5rsx.com\/retroarch-glsl-shaders.tar.gz\" title=\"retroarch-glsl-shaders.tar.gz\" target=\"_blank\">retroarch-glsl-shaders.tar.gz<\/a><\/p>\n<p>Here are the ones that explicitly failed to recompile:<br \/>\n<code>Failed shaders:<br \/>\ncommon-shaders\/blurs\/blur6x6shared.cg<br \/>\ncommon-shaders\/blurs\/blur12x12shared-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur12x12shared-last-pass-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur8x8shared-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur6x6shared-last-pass-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur10x10shared-last-pass-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur8x8shared-last-pass.cg<br \/>\ncommon-shaders\/blurs\/blur6x6shared-last-pass.cg<br \/>\ncommon-shaders\/blurs\/blur8x8shared.cg<br \/>\ncommon-shaders\/blurs\/blur6x6shared-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur8x8shared-last-pass-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/blurs\/blur12x12shared-last-pass.cg<br \/>\ncommon-shaders\/blurs\/blur10x10shared-last-pass.cg<br \/>\ncommon-shaders\/blurs\/blur10x10shared.cg<br \/>\ncommon-shaders\/blurs\/blur12x12shared.cg<br \/>\ncommon-shaders\/blurs\/blur10x10shared-gamma-encode-every-fbo.cg<br \/>\ncommon-shaders\/borders\/resources\/bigblur-horiz.cg<br \/>\ncommon-shaders\/borders\/resources\/bigblur-vert.cg<br \/>\ncommon-shaders\/xbr\/legacy\/3xbr-v2.1.cg<br \/>\ncommon-shaders\/3dfx\/3dfx_pass_2.cg<br \/>\ncommon-shaders\/handheld\/lcd-shader\/backup\/lcd-pass-0.cg<br \/>\ncommon-shaders\/handheld\/lcd-shader\/backup\/lcd-pass-1.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-bloom-horizontal-reconstitute.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-scanlines-horizontal-apply-mask-fake-bloom.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-brightpass.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-scanlines-horizontal-apply-mask.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-scanlines-horizontal-apply-mask-fake-bloom-intel.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-bloom-approx-intel.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-scanlines-horizontal-apply-mask-intel.cg<br \/>\ncommon-shaders\/crt\/crt-royale\/src\/crt-royale-bloom-approx.cg<\/code><\/p>\n<p>Happy gaming!<\/p>\n<p><a href=\"http:\/\/www.kf5rsx.com\/retroarch-glsl-shaders.tar.gz\" title=\"retroarch-glsl-shaders.tar.gz\" target=\"_blank\">Here&#8217;s the shaders again if you forgot to get them above.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Playing with RetroPie\/Retroarch on the Raspberry Pi 2, I found the glsl shader selection to be lacking somewhat, especially in the retro visual department. Specifically I wanted to play with the ntsc and crt filters from the main Retroarch common-shader&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/www.thepoorgeek.com\/techblog\/2015\/03\/10\/retroarch-quick-glsl-shader-recompile\/\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53],"tags":[],"class_list":["post-227","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6E2xk-3F","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/posts\/227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/comments?post=227"}],"version-history":[{"count":0,"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/posts\/227\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/categories?post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thepoorgeek.com\/techblog\/wp-json\/wp\/v2\/tags?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}