Fallout Inspired CRT Simulating Pixel Bender Shader

Published: Wednesday November 12, 2008 at 12:00 AM

View or Add Comments

effect PixelBender Flash CRT shader

I've been having a lot of fun playing with Pixel Bender and came up with a shader that mimics a CRT television display that is somewhat inspired by the displays in Fallout. Below is a sample of it in action (requires Flash Player 10 and a webcam). I couldn't find a very good quality TV image so that's why it looks so nasty. Mac users may need to play with the settings to select the correct input for the webcam (right click and select "Settings...").

My Bad!

This will not work as I have yet to locate the original files for this to recompile it to point to the correct path. Didn't think I'd be completely rewriting my web site when I made this :)

Here's the kernel source.

For those without, here's how it looks:

"CRT Pixel Bender Shader Example"

Comments

 
  • From Adam
  • Date Wednesday November 12, 2008 at 6:41 PM

Snazy, for some reason every time I load a pixel shader it decides to just pass right through. What'd you do to get it to work? Are you using Flash CS4 or did you compile this junk with Flex?

Nice!

  • From Paul
  • Date Wednesday November 12, 2008 at 6:54 PM

Adam, I compiled this with CS4 but I'm not sure I know what you mean "pass right through"? You could try using the Embed compiler directive with Flex:

[Embed(source="shader.pbj", mimeType="application/octet-stream")]
var shaderClass:Class;

With CS4 I just use the URLLoader to get the pbj file.

  • From Adam
  • Date Friday November 14, 2008 at 9:46 PM

Hmm, well I'll try a couple more things. I didn't try the embed thing, so I can give that a shot. Basically it seems to load, and attach the filter, but it's like the filter is just dest = src, I'll sort it out.

 

Add a Comment

*email addresses are not made public

*uses a small subset of markdown for formatting and links