mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-09-17 08:31:32 +00:00
higher quality depth buffer
This commit is contained in:
@ -42,7 +42,7 @@ fileprivate let cubeIndices: [UInt16] = [
|
|||||||
|
|
||||||
fileprivate let numFramesInFlight: Int = 3
|
fileprivate let numFramesInFlight: Int = 3
|
||||||
fileprivate let colorFormat: MTLPixelFormat = .bgra8Unorm_srgb
|
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
|
fileprivate let clearColor: Color<Double> = .black.mix(.white, 0.1).linear
|
||||||
|
|
||||||
public class Renderer {
|
public class Renderer {
|
||||||
|
Reference in New Issue
Block a user