mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 09:19:12 +01:00
Take the ambient occlusion into the lighting and add a probe of the cab
This commit is contained in:
@@ -85,6 +85,8 @@ class local_lights
|
||||
{
|
||||
return m_cablamplocal;
|
||||
}
|
||||
// the box of the cab model Cab (model space): its middle and half its size; false when the model has no geometry
|
||||
bool cab_bounds(TModel3d *Cab, gfx::geometrybank_manager const &Geometry, glm::vec3 &Center, glm::vec3 &Extent);
|
||||
// counts of the last pass which wrote the lights to the light buffer: placed, and left out for the lack of room
|
||||
void placed(std::uint32_t const Placed, std::uint32_t const Dropped)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user