mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
un-hardcode various render properties (environment, material)
This commit is contained in:
6
Sources/Voxelotl/Renderer/Environment.swift
Normal file
6
Sources/Voxelotl/Renderer/Environment.swift
Normal file
@ -0,0 +1,6 @@
|
||||
public struct Environment {
|
||||
public var cullFace: Face
|
||||
public var lightDirection: SIMD3<Float>
|
||||
|
||||
public enum Face { case none, front, back }
|
||||
}
|
Reference in New Issue
Block a user