Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Flat Shaded Colour Based Triplanar shader help.

Discussion in 'Shaders' started by Arcratist, Nov 29, 2018.

  1. Arcratist

    Arcratist

    Joined:
    Sep 26, 2018
    Posts:
    5
    Hey guys,

    I need help creating a flat shaded triplanar shader that takes colours as opposed to textures. I've tried to piece together various internet sourced shaders to get my desired effect but nothings even successfully compiled. Any help is appreciated
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
    Can you explain (or show) exactly what you mean by "takes colors"? Should each face be purely one of three colors depending on which direction it's facing, or a blend, or something in between?

    And you should post one of your attempts at a working shader. (Use the code tags!)
    upload_2018-11-29_12-22-57.png