Home Forums Unity SDK Dynamic Lighting question

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8894
    Henke Andersson
    Participant

    Hi, using the dynamic lightning from latest SDK. When adding it to an object in my scene, it changes the “view” of the camera. By design?
    (Empty scene, add cube in front of the camera, add script, add EyeAdaptionProfile -> cant see the cube when I run, disable the script and everything is normal)
    Another question, just want to know, why do I hhave to add the EyeAdaptionProfile manually to the script?
    (I’m not so familiar w. Unity)

    /H

    #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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.