Skip to main content

khora_lanes/render_lane/shadows_lane/algo/
mod.rs

1// Copyright 2025 eraflo
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Shadow rendering algorithm — free functions shared by every quality
16//! tier (`StandardShadowsLane`, `LowResShadowsLane`, future variants).
17//!
18//! Each function takes its dimensions as parameters; the lane that calls
19//! it provides its own (hardcoded-in-the-type) constants. No config
20//! struct is injected by the agent: the lane **is** its quality.
21
22pub mod atlas_2d;
23pub mod atlas_cube;
24pub mod bindings;
25pub mod pass;
26pub mod state;
27
28pub use state::ShadowsLaneState;