mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-02 13:00:53 +00:00
higher quality depth buffer
This commit is contained in:
parent
8904db24a5
commit
9b455652ff
@ -42,7 +42,7 @@ fileprivate let cubeIndices: [UInt16] = [
|
||||
|
||||
fileprivate let numFramesInFlight: Int = 3
|
||||
fileprivate let colorFormat: MTLPixelFormat = .bgra8Unorm_srgb
|
||||
fileprivate let depthFormat: MTLPixelFormat = .depth16Unorm
|
||||
fileprivate let depthFormat: MTLPixelFormat = .depth32Float
|
||||
fileprivate let clearColor: Color<Double> = .black.mix(.white, 0.1).linear
|
||||
|
||||
public class Renderer {
|
||||
|
Loading…
Reference in New Issue
Block a user