0

I saw decal pack on youtube recently, fantasy of Rome or something like that, and they use vertex painting on decal to make some parts of it transparent. I work in hdrp pipeline, so I can use planes as decals with hdrp decal material and decal projector, and it's awesome, but is there a way to draw in transparency of plane or projected decal using Polybrush? My goal is to use one texture to get many unique decals.

Tertium
  • 6,049
  • 3
  • 30
  • 51
  • 1
    You can develop a shader in shader graph I would suggest two videos please check. 1). [Unity Shader Graph: Vertex Painting Shader!](https://youtu.be/bA9BXvYfaB0) 2).[Unity Shader Graph Tutorial: Height Blended Vertex Painting.](https://youtu.be/YH1zm-Xm-Do) – Ghost The Punisher Jan 30 '20 at 12:39
  • Let me know if this helps – Ghost The Punisher Jan 30 '20 at 12:39
  • Very good tutorials, thank you! – Tertium Jan 31 '20 at 12:47
  • @Ankit Do you happen to know how to make any shader Graph based material work in Unity 2019.2? I can you its HDRP Lit and Decal materials, but when I create even simple PBR or Lit Graph shader with only one Color node linked to albedo - once I put material based on that shader my scene becomes black (and in runtime too) until I remove this material from object. I linked HDRP asset to Graphics settings, so that could not be the issue. – Tertium Jan 31 '20 at 14:17
  • can I have to shader? – Ghost The Punisher Jan 31 '20 at 14:22
  • I've just created empty PBR shader, created material, applied to object and the whole scene is black. Replaced by empty HDRP Lit material, skybox and everything returned. – Tertium Jan 31 '20 at 15:43
  • That is something that I've never seen before. It would be good if I can take a look at your shader. – Ghost The Punisher Jan 31 '20 at 16:03
  • It looks like this unity is broken, I've installed 2019.3 and shader kinda works. In 2019.2 even their sample shaders like Metal make scene black. – Tertium Jan 31 '20 at 16:42
  • Ya, that might be the case. – Ghost The Punisher Feb 01 '20 at 04:54

0 Answers0