mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
8 lines
324 B
Plaintext
8 lines
324 B
Plaintext
|
/// 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);
|