Home Forums Unity SDK Dynamic Lighting question Reply To: Dynamic Lighting question

#8902
Alex [Tobii]
Participant

Hi @henke !

It’s hard to tell without seeing the test scene, but i just tested it and it seems to work.

The EyeAdaptionProfile is a slightly modified default Unity eye adaptation post processing effect. Most changes are done in the shader. Now it receives gaze point from the script and uses it instead of the center of the screen. You can find the source code with all the modifications marked as Tobii in
Assets\Tobii\DemoScenes\Shaders\PostProcessing\Resources\Shaders\EyeHistogram.compute