Search Unity

Resolved Fresnel0 problem

Discussion in 'Shaders' started by NarberalTools, Aug 7, 2021.

  1. NarberalTools

    NarberalTools

    Joined:
    Jul 8, 2019
    Posts:
    63
    I wrote fresnel0 in the shader, but I don't know how to apply it to albedo. How to do it?
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,342
    ... you're going to have to be a bit more specific than that.
     
  3. NarberalTools

    NarberalTools

    Joined:
    Jul 8, 2019
    Posts:
    63
    Excuse me. I have already solved the problem myself. I created an iridescence shader like in HDRP and didn't know how to apply fresnel0 to albedo.