mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-28 16:06:28 +01:00
8 lines
324 B
Text
8 lines
324 B
Text
|
/// Get the light at the given world position.
|
||
|
/// This may be interpolated for smooth lighting.
|
||
|
bool flw_light(vec3 worldPos, out vec2 light);
|
||
|
|
||
|
/// Fetches the light value at the given block position.
|
||
|
/// Returns false if the light for the given block is not available.
|
||
|
bool flw_lightFetch(ivec3 blockPos, out vec2 light);
|