mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
feat(rendering): add basic diffuse and ambient lighting to block rendering
This commit is contained in:
@@ -1006,4 +1006,6 @@ std::vector<glm::vec4>& World::planes() { return m_planes; }
|
||||
std::vector<ChunkRenderSnapshot>& World::render_snapshots() {
|
||||
return m_render_snapshots;
|
||||
};
|
||||
glm::vec3 World::sunlight_dir() const { return m_sunlight_dir; }
|
||||
|
||||
} // namespace Cubed
|
||||
Reference in New Issue
Block a user