
Flashlight: Shader Light Engine
Handheld flashlight and work lantern with real dynamic lighting: a shader-driven beam that casts true shadows from actual block shapes, zooms with the mouse wheel, and blinds anyone who looks in. Plus night vision goggles and signal flares.
0.3.0+26.1.2
Compatibility
Changes
Added
- Real shadows — terrain is re-rendered from the flashlight's point of view, so shadows follow actual block shapes: a slab casts a slab, leaves cast a dappled mess. Reaches 64 blocks instead of 24.
- Settings screen (ModMenu → gear) — shadows, beam and night vision, applied live while you drag the slider.
- Night vision sharpening — the picture now visibly breaks into pixels, plus scanlines, bloom around hot spots, and grain that thickens as the battery dies.
Changed
- New beam shape — a bright hotspot inside a wide, faint corona, instead of a flat disc. Zooming narrows the spot and steals light from the corona, the way a real zoom head does.
- Smooth distance falloff — inverse-square along the whole beam, instead of holding up and then cutting off near the end.
- Up to 128 lights at once, and the 4-per-chunk cap is gone.
- Voxel shadows rebuilt (the Sodium path) — half-block precision instead of whole blocks, reach 24 → 32.
Fixed
- The beam jumped to the centre of the screen when looking straight down.
Note
Shadow maps need vanilla rendering. With Sodium installed the beam uses the voxel occluder instead — coarser and shorter-ranged, but still real occlusion.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:xAYUZD4M:Nfxf1ulv"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xAYUZD4M:Nfxf1ulv"
}
