I
izark
Guest
I have tried to apply two different shaders to the application surface without success:
If I apply these shaders separately on the draw_gui event, they work fine.
But I don´t know how to apply both.
I have tried to draw the application surface with the first shader applied to it, copy it to a new surface and draw this new surface with the second shader applied, but I get a black screen.
I have tried also to draw the application surface two times, with 0.5 alpha each one, and apply those two shaders separately, but only the last shader is drawn.
I have also tried to draw the first shader on the draw_end event and the second shader on the draw_gui event, but then a texture page is drawn on the screen lol.
I have also thought of combining those two shaders in one shader in the shader editor, but that would be a pain.
How can I solve this? I appreciate any help.
If I apply these shaders separately on the draw_gui event, they work fine.
But I don´t know how to apply both.
I have tried to draw the application surface with the first shader applied to it, copy it to a new surface and draw this new surface with the second shader applied, but I get a black screen.
I have tried also to draw the application surface two times, with 0.5 alpha each one, and apply those two shaders separately, but only the last shader is drawn.
I have also tried to draw the first shader on the draw_end event and the second shader on the draw_gui event, but then a texture page is drawn on the screen lol.
I have also thought of combining those two shaders in one shader in the shader editor, but that would be a pain.
How can I solve this? I appreciate any help.
Last edited by a moderator: