Game Development Community

Can custom shaders be used in GUI for TGEA 1.8?

by Nicolai Dutka · in Torque Game Engine Advanced · 10/06/2009 (8:28 pm) · 1 replies

I'd like to have a custom shader that makes the player's view all weird, blurry, swirly, etc when they use a special ability. I recall writing a shader a few years ago in college, but it's been so long and it never got very advanced, so I doubt I have the skill to write one that would work...

Are there any guides or maybe some pre-made free shaders out there I can use? (Links please!)

Also, how would I go about implementing this into a GUI based shader that covers the entire screen so it will effect the player's view in both 1st and 3rd person?

#1
10/07/2009 (3:46 pm)
There was an add on in development for something like that but I don't know what happened to it:

www.garagegames.com/community/blogs/view/16695

You could roll your own by doing something similar to copyBBToSfxBuff(), copy the back buffer to a texture and then render this as a full screen quad using a custom shader. I guess it would require some hacking!