Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URP Iridescence Example

An example of iridescence shader extending the Lit shader in Unity URP.

Single-layered thin-film BRDF by Laurent Belcour and Pascal Barla's paper.

TODO

  • Single-layered thin-film (Soap bubble)
  • Multi-layered thin-film
  • Diffraction grating (CD-ROM)
  • Biological iridescence (Morpho butterfly wing scales)

I'll need to further study the underlying principle of these iridescences and find a way to modeling them that suitable for real-time rendering.

Requirement

  • Unity 2019.3.2f1 or higher
  • Universal Rendering Pipeline 7.4.1

Screenshots

Thin-film

Resources

  • Model - UnityBall by Unity Technologies
  • Skybox - TV Studio by Sergej Majboroda
  • Skybox - Spruit Sunrise by Greg Zaal

License

Code

CC0-1.0

All HDRIs from HDRIHaven.com

CC0

About

🔮 An example of iridescence shader in URP.

Topics

Resources

Stars

153 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages