This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Ambient Occlusion and Direction. | |
| * | |
| * Calculates AO and the average direction where the ambient light came from. | |
| * | |
| * Original AO code from https://github.com/sambler/osl-shaders/blob/master/ramps/BaAmbientOcclusion/BaAmbientOcclusion.osl | |
| * | |
| */ | |
| void rng_seed(output int rng, int seed) |