un-hardcode various render properties (environment, material)

This commit is contained in:
2024-08-25 14:49:07 +10:00
parent 7a417e0701
commit 428b142bf2
8 changed files with 85 additions and 37 deletions

View File

@ -0,0 +1,6 @@
public struct Environment {
public var cullFace: Face
public var lightDirection: SIMD3<Float>
public enum Face { case none, front, back }
}