Jump to content

  • Log In with Google      Sign In   
  • Create Account


"Shield" shader - How to create "bullet effects" and borders?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 fjholmstrom   Members   -  Reputation: 172

Like
0Likes
Like

Posted 20 December 2012 - 07:00 AM

I've been messing around with creating my own "shield" shader, the basic idea is something like this - which can be seen in planetside 2: now rendering the basic shield on a mesh is not a problem, the problematic parts come when I want to create the "borders" you can see in the video where the shield touches the building itself. The same borders also appear when say a vehicle or player passes through the shield. Other effects im looking into creating is a "wave/circle" type of effect when a bullet hits the shield for example.

Anyway, I'm not looking for cut n paste shader code, but more for general pointers in the right direction to achieve these effects.

Sponsor:

#2 GeniusPooh   Members   -  Reputation: 157

Like
0Likes
Like

Posted 20 December 2012 - 07:51 AM

I've been messing around with creating my own "shield" shader, the basic idea is something like this - which can be seen in planetside 2: http://www.youtube.com/watch?v=gLHxPZu4blI&t=20m36s now rendering the basic shield on a mesh is not a problem, the problematic parts come when I want to create the "borders" you can see in the video where the shield touches the building itself. The same borders also appear when say a vehicle or player passes through the shield. Other effects im looking into creating is a "wave/circle" type of effect when a bullet hits the shield for example.

Anyway, I'm not looking for cut n paste shader code, but more for general pointers in the right direction to achieve these effects.


OMG too long video can you capture that specific effect?

I think I can tell you about idea or implementations.

Beauty is only skin deep , ugly goes to bones

 

World's only 3D engine tunner and 3D engine guru.

 

and real genius inventor :) but very kind warm heart .. and having serious depression for suffering in Korea

 

www.polygonart.co.kr ( currently out dated and only Korean will change to English and new stuff when I get better condition :) sorry for that)


#3 samoth   Crossbones+   -  Reputation: 4718

Like
1Likes
Like

Posted 20 December 2012 - 09:27 AM

Posted Image

This?

Post-process reading framebuffer. Mixing red and the input color, combining transparency from 3D animated Perlin noise (third dimension is time), and modulated by a decal texture for the outpost owner's insignia in the middle. Values read from the back buffer have some simple "sinus noise" kind-of-wiggly offset to texture coordinates applied to give a slight, cheap distortion.

When something passes through, just add a value to the noise value with a little decal there (slowly enlarging for a nicer effect). Or, do something like a "2D water simulation" if you feel like burning 1000x the GPU cycles for 0.001% better looks.

Edited by samoth, 20 December 2012 - 09:31 AM.


#4 fjholmstrom   Members   -  Reputation: 172

Like
-4Likes
Like

Posted 20 December 2012 - 09:35 AM

OMG too long video can you capture that specific effect?

I linked with a time/second mark, but apparently the embedded youtube player didnt pick up on that, no need to be a douche about it.

#5 Auskennfuchs   Members   -  Reputation: 560

Like
3Likes
Like

Posted 20 December 2012 - 11:03 AM

There's a huge presentation (http://www.gdcvault.com/play/1014348/HALO-REACH-Effects) from Halo Reach, where they explain, how they did their shield effects and also a portal effect. It looks quite interesting and may help you.

#6 MarkS   Prime Members   -  Reputation: 882

Like
0Likes
Like

Posted 20 December 2012 - 03:06 PM

...no need to be a douche about it.


Excuse me? It is your responsibility to ensure that we have all of the information we need to help you, not ours.

#7 GeniusPooh   Members   -  Reputation: 157

Like
1Likes
Like

Posted 20 December 2012 - 07:35 PM


OMG too long video can you capture that specific effect?

I linked with a time/second mark, but apparently the embedded youtube player didnt pick up on that, no need to be a douche about it.



why you curse at me? I just ask proper frame shot and try to help you hmmm

Beauty is only skin deep , ugly goes to bones

 

World's only 3D engine tunner and 3D engine guru.

 

and real genius inventor :) but very kind warm heart .. and having serious depression for suffering in Korea

 

www.polygonart.co.kr ( currently out dated and only Korean will change to English and new stuff when I get better condition :) sorry for that)





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS