Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
howdyzach's avatar
howdyzach
Honored Guest
11 years ago

affecting each eye separately?

I'm looking for a good method to affect certain elements of a scene differently in each eye. I want to do some experimentation with materials and shaders, and was wondering if there was a way to set how each eye sees an object. IE I want to show a sphere as being red in one eye and blue in the other. Any idea if that's even possible in blueprints/shaders?

1 Reply

Replies have been turned off for this discussion
  • RNELord's avatar
    RNELord
    Honored Guest
    I tried to do the same thing. In your material shader, drag out a screen position node, and break out the X value with a vector 2. If the value is greater than 0.5 then it's the right eye, else it's the left eye. You should be able to drive any params you want that way - I was able to make it show in only one eye via the alpha channel, and also adjust colours based on which eye it was in.