happy-turtle / oit-unity

Order-independent Transparency Implementation in Unity with Per-Pixel Linked Lists
Apache License 2.0
181 stars 25 forks source link

not work correctly on VR (use OpenXR + HMD mook) #6

Closed SnowWindSaveYou closed 1 year ago

SnowWindSaveYou commented 1 year ago

only the bottom about 1/10 part of screen can seen the oit result

SnowWindSaveYou commented 1 year ago

ok i fixed this problem, the buffer size was too small, just increase it by multiply 8 (maybe 4 for each pixel, and two screen)

happy-turtle commented 1 year ago

Nice, I am surprised it works at all in VR. Image effects are usually problematic on VR with Unity.