Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: ArcadeBliss on May 10, 2016, 02:15:07 AM
-
I am trying to do a gaussian blur effect that requires to run the shader twice on the resulting image. Does anyone have a clue how to place the resulting image of an fe.image object that has a shader into another fe.image inorder to run the other shader against it?
-
I'm not the best to explain shaders.. ideally the shader would run two passes i think or you would combine two separate shaders into one - but that's too complicated for me :)
Have you tried just doing the first shader on the image, then adding image to a surface and applying the second to the surface? I'm not sure if that would give the same effect, though.
-
I'll give that a try. Good idea.
-
it worked!
I created a surface and gave it a shader.
I created an fe.image in the surface and gave it a shader.
after that it worked like a charm!