No announcement yet.

Minnaert Shading in UE4?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Minnaert Shading in UE4?

    Has anybody come up with a good method for implementing Minnaert shading in UE4? I feel I could get a decent result in the Material Editor alone, but don't mind diving into Source if I have to.

    There are a few ways to use it in UDK, but obviously they require the full custom lighting path.

  • #2
    You should be able to get something pretty similar without changing shader code, Minnaert isn't much more than a fresnel effect after all.

    In UDK I always liked velvet and the like to have a colored specular that's why I'm using metalness in UE4:
    Click image for larger version

Name:	velvetmat01fyse1.jpg
Views:	1
Size:	84.8 KB
ID:	1053601 Click image for larger version

Name:	velvetmat02aups6a.jpg
Views:	1
Size:	199.8 KB
ID:	1053602

    Just for comparison, these are the same models with minnaert shading in UDK:


    • #3
      Oh very nice! I was looking into writing Minnaert as an alternative shading model, but the code has changed from 4.1 > 4.4 so I had compile errors and don't fancy digging through. I'll try that example you sent, looks great

      Funnily enough it's being applied to it's original idea behind Minnaert shading, the moon
      Last edited by TheJamsh; 08-18-2014, 11:57 AM.