Weekend project: added a new shading model that includes a retroreflective component.
Improvements needed:
- Separate roughness for specular and retro-reflectivity
- Add parameter(s) for imperfect reflectors (inverse fresnel or something)
- Add RectLight support
- Check energy conservation since I’m basically just adding a 2nd specular term
- Environment reflections
Anyway here’s a patch of the current code. This was done on the 4.20 branch:
THIS IS AMAZING! In all seriousness, what would you charge me to finish this with the improvements needed.
Can you us where to add this code exactly? this is super awesome! i wish unreal has this implented …
Oh yea i saw that you added the line number and the filename, my bad :o!