CEMU Wii U Emulator
  3 / 3    
It looks like BOTW is using dynamic clipping planes to maximize the precision of it's depth buffer. This causes the depth buffer to spastically shift it's values which wreaks havoc on the stereoscopic effect since things suddenly get closer and further away. The near and far clipping planes are being moved depending on the camera position as well as the objects that are inside the view frustum. I don't have access to any of this information I only have access to the depth buffer, but it's possible to figure out when the clip planes are moved since the shifts are generally pretty drastic. I've managed to come up with a fairly decent solution. Basically i take various samples from the depth buffer and check their depth, if they fall outside certain values then the game has shifted it's clipping planes. I then calculate the difference between these values to calculate a offset for the clipping planes. I then use the new clipping plane values to linearize the depth values. For the most part it works really well, it's completely removed the sudden changes in the stereoscopic effect that were caused by the camera movement. The only times I have issues is when objects like grass get between Link and the camera, this causes the depth buffer to shift a bit but's its not that bad. With a bit more work i should be able to fix this as well. I'll post my results here soon, probably next weekend when i have more free time.
It looks like BOTW is using dynamic clipping planes to maximize the precision of it's depth buffer. This causes the depth buffer to spastically shift it's values which wreaks havoc on the stereoscopic effect since things suddenly get closer and further away. The near and far clipping planes are being moved depending on the camera position as well as the objects that are inside the view frustum. I don't have access to any of this information I only have access to the depth buffer, but it's possible to figure out when the clip planes are moved since the shifts are generally pretty drastic.

I've managed to come up with a fairly decent solution. Basically i take various samples from the depth buffer and check their depth, if they fall outside certain values then the game has shifted it's clipping planes. I then calculate the difference between these values to calculate a offset for the clipping planes. I then use the new clipping plane values to linearize the depth values. For the most part it works really well, it's completely removed the sudden changes in the stereoscopic effect that were caused by the camera movement. The only times I have issues is when objects like grass get between Link and the camera, this causes the depth buffer to shift a bit but's its not that bad. With a bit more work i should be able to fix this as well.

I'll post my results here soon, probably next weekend when i have more free time.

Like my work? You can send a donation via Paypal to sgs.rules@gmail.com

Windows 7 Pro 64x - Nvidia Driver 398.82 - EVGA 980Ti SC - Optoma HD26 with Edid override - 3D Vision 2 - i7-8700K CPU at 5.0Ghz - ASROCK Z370 Ext 4 Motherboard - 32 GB RAM Corsair Vengeance - 512 GB Samsung SSD 850 Pro - Creative Sound Blaster Z

#31
Posted 04/10/2017 06:39 AM   
@sgrules: We can't wait to try it, this is awesome :)
@sgrules: We can't wait to try it, this is awesome :)

Win7 64bit Pro
CPU: 4790K 4.8 GHZ
GPU: Aurus 1080 TI 2.08 GHZ - 100% Watercooled !
Monitor: Asus PG278QR
And lots of ram and HD's ;)

#32
Posted 04/10/2017 09:32 AM   
@sgrules: Looking forward with hope here [color="green"];)[/color]
@sgrules: Looking forward with hope here ;)

An old man with an old 24" 3D gamer Pc, Helixmod Disciples fan

#33
Posted 04/10/2017 02:44 PM   
@sgrules: any update on sharing even a basic fix? would really love to play BOTW in 3D, thanks !! :)
@sgrules: any update on sharing even a basic fix? would really love to play BOTW in 3D, thanks !! :)

#34
Posted 06/15/2017 08:59 AM   
https://wccftech.com/new-version-wii-u-emulator-cemu-1-15-1-is-being-released-later-this-week-offers-numerous-improvements/
Breath of the wild 3d fix stopped working in CEMU 1.11.6 You need to use 1.11.3 otherwise it just locks up on startup when 3dvision is on. Luckily this version still allows you to use the shader cache improvements and most features to get a 60 fps BOTW
Breath of the wild 3d fix stopped working in CEMU 1.11.6
You need to use 1.11.3 otherwise it just locks up on startup when 3dvision is on. Luckily this version still allows you to use the shader cache improvements and most features to get a 60 fps BOTW

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
EVGA 1080TI SLI
Samsung SSD 840Pro
ASUS Z97-WS
3D Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#36
Posted 01/08/2019 12:43 AM   
  3 / 3    
Scroll To Top