ConfettiFX / The-Forge

The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Apache License 2.0
4.65k stars 491 forks source link

Visibility Buffer on iOS #253

Closed zyjisdog closed 3 months ago

zyjisdog commented 2 years ago

The visibility buffer demo seems to work on iPhone 12 (A14, MTLGPUFamilyApple7, max number of the texture argument buffe is 128), and I saw a folder named 'Visibility_Buffer_iOS' in the visibility buffer project, but there is no iOS target in the xcode project. I tried to port the macOS target to iOS by duplicate and modify it but it did't work.

wolfgangfengel commented 2 years ago

We are working on this. It won't make it to the next release but maybe the one after.

zyjisdog commented 2 years ago

In addition, A14 delivered features including primitive ID and barycentric coordinates, which may help you to refactor the iOS version of the visibility buffer. Ref: https://developer.apple.com/videos/play/tech-talks/10858/

wolfgangfengel commented 5 months ago

This should work now. Have you tried? You need a decent phone ...