Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

"Spheral gun shader"

Discussion in 'Shaders' started by PrestoR3, Nov 17, 2014.

  1. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
    Hi gang,
    I spotted on one of the thread screen of "Spheral gun shader".

    http://forum.unity3d.com/threads/generating-a-collision-mesh-at-runtime.235303/

    I'm looking for that kind of shader so badly and that's the only page I found exactly what I need.
    I would be very thankful if someone could point me from where I can get / buy or how I should approach to write it on my own (my knowledge about writing own shaders is very basic unfortunately).

    Thanks in advance!

    Greg
     
  2. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
    Anyone ? is this even possible to build shader like that ?
     
  3. PvTGreg

    PvTGreg

    Joined:
    Jan 29, 2014
    Posts:
    365
    Hi im also Greg! why dont you just contact the person who posted the thread
     
  4. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
    Hi Greg! :)

    This is the first thing I did but he is not responding... : /

    This thread is my second shot
     
  5. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,960
    Try looking into stencil buffer/shaders. I think there are examples around for something similar.
     
    PrestoR3 likes this.
  6. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
    Ehh... of unfortunately as I see stencil buffer are not available for unity free.
    Anyway, many thanks for help
     
  7. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,960
    I believe they added it in 4.6 for free as well.
     
    PrestoR3 likes this.
  8. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
    Wow, you are right, that's awesome! Thanks mate, I will try it out after upgrade :)
     
  9. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
  10. PrestoR3

    PrestoR3

    Joined:
    Nov 11, 2014
    Posts:
    7
    Any ideas ? I still stuck with it :(