Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Adding Normal maps to shaders

$
0
0
I have a shader for the ProBuilder asset to use Vertex Painting with, I was wondering if someone could add normal maps support, or if it is easy for someone who doesn't usually dabble in these things to do, explain how I can do it.

Shader is below:

(Ignore the bit that says it C#, shader C isn't on the list)

Code (CSharp):
  1. Shader "ProBuilder/Diffuse Material Blend"
  2. {
  3.     Properties
  4.     {
  5.         _FirstTex ("Texture", 2D) = "white" {}
  6.         _SecondTex ("Texture", 2D) = "white" {}...
Adding Normal maps to shaders

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>