GM:S 1.4 Swirl distortion effect using primitives instead of shaders

Discussion in 'Programming' started by ragingdemonz, Mar 8, 2019.

  1. ragingdemonz

    ragingdemonz Member

    Joined:
    Jun 28, 2016
    Posts:
    272
    So the effect i'm trying to do is something like this, but i don't want it to be a full screen effect. I want to dynamically place it anywhere in the room and distort only that part.



    But instead of using shaders i was wondering i can make it using primitives. I've been following the tutorial with the shockwave example and it came out pretty well. Now however i was wondering if there's a way to distort an area with primitives like the above video. There's many reasons why i don't want to use a shader, I know its faster than primitves, but i don't have enough freedom over it as i would with primitives, mainly i cannot generate it dynamically anywhere in the room with my current skills and knowledge with shaders. I've tried creating shockwaves with shaders in the past, but it often required me to create new surfaces to house those shockwaves.

    If anyone has an idea or perhaps a tutorial that would be great, Many thanks.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice