Page 1 of 1

Distortion

PostPosted: Thu Mar 14, 2019 1:00 am
by ePiQue
Hey,

I am currently trying to do a shield effect.

I saw the multipass distortion exemple and I was wondering if it was possible to have the same effect but with the Surface shader type ?

Much thanks !

Re: Distortion

PostPosted: Fri Mar 15, 2019 11:28 am
by Amplify_Borba
Hello, it is possible to have a similar effect, but you'll have to make some compromises, such as losing the intersection effect since it's calculated in a separate pass. Please refer to the following example:

Image

I've set the Surface Shader to Transparent, turning off Cast and Receive Shadows in the above example.

Image

You may also refer to our ForceShield sample as an example of an alternate setup and effect.

Re: Distortion

PostPosted: Fri Mar 15, 2019 7:18 pm
by ePiQue
Thanks for your answer !

Tried it, but I might miss something here, I can't see any distortion :/

Image

Re: Distortion

PostPosted: Sun Mar 17, 2019 5:02 pm
by ePiQue
Nevermind, I made a mistake, it works, thanks !

Last question, is it possible to add textures on top of that effect ?

Re: Distortion

PostPosted: Wed Mar 20, 2019 1:12 pm
by Amplify_Borba
Yes, you could add additional texture sample nodes to this effect for additional textures.