Rework voxel KindsDescs and Kinds
afonsolage opened this issue · comments
Afonso Lage commented
KindsDescs
describes how voxel::Kind
should behave, but it only do it for rendering aspects. There should be a way to integrate voxel::Kind
functions like is_opaque
or even get light emission into KindsDescs
.
Maybe use OnceCell
and make it global available, since it'll be a read-only resource, loaded only once (at least in production) on the beginning.