NeoLux
温暖的低角度阳光映照在静谧的阴影中,柔和的体积云与倒映着岸边的深色水面。这是一款为 Iris 设计的延迟渲染光影包,追求宁静、电影般的视觉效果,而非罗列大量特效。
一个光影包是否好看,主要取决于光照效果,而非特效列表的数量。Neolux 使用一套基于太阳高度角的自定义调色板来渲染主世界。正午时分,天穹呈现深蓝色,地平线则较为苍白。到了傍晚,光线变得温暖而低垂,向四周扩散,天空其余部分则转为灰暗且静止。
阳光强烈,阴影微弱,且阴影会损失部分色彩。受光的墙面与其背光面呈现出截然不同的质感,而不是同一表面被染上更蓝的色调;花田在阳光实际照射到的地方保持其原有色彩。
原版天空颜色无法承载这种表现。Minecraft 报告的雾色甚至会随着相机朝向的变化而改变,因此当你转身时,整个天空都会变色。下界和末地则拥有独立的视觉风格:下界雾气带有生物群系特有的色彩,末地天空则是深邃的紫色,伴有星云、星辰和末地闪烁光效的面纱。
安装
- 安装 Iris。
- 将 NeoLux 的 zip 文件放入
.minecraft/shaderpacks/目录。 - 在游戏中:选项 -> 视频设置 -> 光影包 -> NeoLux。
无需资源包、无需模组、无需编辑配置文件。所有设置均在光影选项界面中完成。
包含内容
| 区域 | 实现方式 |
|---|---|
| 光照 | 太阳光和环境光随太阳高度角变化,黄金时刻光线温暖,方块面根据朝向产生阴影,可选的有色方块光源 |
| 天空 | 深蓝天穹、苍白地平线、低太阳周围的暖色散射、程序化星空、流星、寒冷生物群系中的极光、雨后彩虹、末地专属天空 |
| 云层 | 程序化体积层,面向太阳照明,边缘明亮核心较暗,水面有倒影,阴影在地面上漂移 |
| 阴影 | 扭曲的阴影贴图,旋转环上的硬件过滤采样,受染色玻璃和水的影响着色 |
| 植物 | 像它们生长的地面一样受光,光线包裹植物并在逆光时穿透,随风摆动 |
| 水体 | 深色且具有反射性,两层具有视差效果的波浪,屏幕空间反射(背景为天空和云朵),锐利的太阳耀斑,折射、模糊和焦散效果(均为可选) |
| 材质 | 发光的矿石和光源,镜像周围环境的冰和玻璃,带框或无框及条纹的玻璃,来自 labPBR 资源包的法线和镜面贴图 |
| 环境光遮蔽 (AO) | 屏幕空间,黄金角采样,4 到 24 次采样 |
| 光柱 | 通过阴影贴图进行体积光行进计算,6 到 40 步 |
| 雾效 | 晴朗天气下仅轻微触及前一百个方块的空中薄雾,夜间和雨天变浓,下界生物群系色彩的雾气 |
| 天气 | 雨水使开阔地面变得更暗、饱和度更高,伴有太阳耀斑和倒映的天空,水坑,雨滴涟漪,照亮大地的闪电 |
| Distant Horizons | LOD 地形和水体,像世界其他部分一样受光、产生阴影和雾效 |
| 后期处理 | 柔和辉光泛光、暗部眼适应、五种色调映射曲线、镜头光晕、色彩分级、FXAA 或 TAA、暗角、噪点 |
质量配置
配置按钮位于选项界面的顶部。共六个等级,从“根本不应该运行光影的设备”到“性能过剩的设备”。
| 配置 | 阴影贴图 | 过滤 | AO 采样数 | 光柱 | 反射步数 | 波浪八度 | 云层步数 |
|---|---|---|---|---|---|---|---|
| 土豆 (Potato) | 关闭 | - | 关闭 | 关闭 | 关闭 | 关闭 | 4 |
| 低 (Low) | 1024 / 96 格 | 1 | 4 | 关闭 | 关闭 | 1 | 6 |
| 中 (Medium) | 2048 / 128 格 | 2 | 8 | 10 | 16 | 2 | 8 |
| 高 (High) | 2048 / 160 格 | 2 | 12 | 14 | 22 | 3 | 10 |
| 超高 (Ultra) | 3072 / 224 格 | 3 | 16 | 20 | 30 | 4 | 14 |
| 极限 (Extreme) | 4096 / 320 格 | 4 | 24 | 40 | 56 | 4 | 20 |
每个配置都会写入完整的一组性能相关选项,而不仅仅是它更改的选项。从“极限”切换到“低”不会留下任何昂贵的设置残留,这通常是配置按钮悄悄欺骗你的方式。
颜色、雾效和曝光度故意不包含在配置中。这些属于个人喜好,而非性能问题,切换配置不应撤销你花费数小时进行的色彩分级。有色光和 TAA 默认关闭,也不属于任何配置的一部分。
选项
共 113 项,分布在十个页面中,支持英语和德语。
阴影: 分辨率、距离、过滤环、柔化程度、偏置、着色强度、太阳路径旋转。
光照: 阳光、环境光、方块光和夜间亮度分别独立调节,因此你可以拥有漆黑的夜晚而不必让洞穴也一片漆黑。此外还支持火把暖色调、最低环境光强度、天空光衰减、阴影中颜色丢失的程度、彩色方块光、遮挡强度、半径和采样数,以及光线体积(god rays)的强度和品质。
天空: 亮度、太阳和月亮亮度、太阳周围的光晕、星星的亮度和密度、流星、彩虹、寒冷生物群系或始终存在的极光,以及末地天空。
云层: NeoLux、原版或无云。覆盖范围、高度、厚度、品质、速度、亮度、水面是否反射云层,以及它们投射的阴影。
雾气: 密度、保持近景清晰的起始距离、霾的强度和高度、水下能见度,以及下界雾效。
水体: 反射范围和清晰度作为独立控制项、折射、模糊和焦散、波高、细节、粗糙度和视差、固定深蓝色或生物群系颜色、不透明度、吸收率、太阳耀斑,以及水下的轻微晃动效果。
世界与几何体: 植物和叶子的摇曳、风速、湿润表面、水坑、雨滴涟漪及雨中的反射、闪电闪光、玻璃样式、Alpha 裁剪,以及方块选择轮廓的宽度和强度。
后处理: 五种色调映射曲线(无、ACES、Reinhard、Uncharted 2、Soft)、曝光度、眼睛自适应及其限制和速度、泛光(Bloom)的强度、阈值、半径和层级数、FXAA 或 TAA、锐化、暗角,以及镜头光晕。
色彩与风格: 饱和度、鲜艳度、对比度、色温、胶片颗粒、色差。
材质: 发光矿石和光源及其发光强度、冰和玻璃上的反射,以及 labPBR 资源包支持。
要求
- Iris,适用于 Minecraft 1.17 或更高版本。在 Minecraft 26.3 和 Iris 1.11 上开发并测试。
- 支持 GLSL 1.20 和帧缓冲对象(Framebuffer Objects)的显卡,实际上这意味着过去十年内的任何显卡都符合要求。
- 彩色光照功能还需要计算着色器(Compute Shaders,OpenGL 4.3)。如果没有计算着色器,该选项将保持禁用状态,且不会引起其他变化。
- Distant Horizons 为可选安装。将其与 Iris 一同安装后,NeoLux 也会照亮远处的地形。
从 1.1.0 版本开始不再支持 OptiFine。天空和光照通过仅由 Iris 提供的统一变量来区分主世界和其他维度,如果没有 Iris,所有内容都会回退到原版颜色。
Minecraft 1.17 是最低要求,因为方块选择轮廓被绘制为加宽的线四边形(line quads),这种技术仅在该版本及以上存在。
关于源代码
该光影使用纯 GLSL 1.20 编写,没有外部包含文件,也不自带纹理:云层和水表面均为程序化生成。如果你想了解某项功能的工作原理,各个渲染通道(passes)的名称已标明其用途,缓冲区布局记录在 lib/common.glsl 文件的顶部。源代码托管于 Codeberg。
采用 GPL-3.0 许可证授权。欢迎 Fork,取你所需部分,并保持开源。
NeoLux
Warm, low sunlight against quiet shade, soft volumetric clouds and dark water that mirrors the shore. A deferred shaderpack for Iris that goes for a calm, cinematic look rather than a long list of effects.
What makes a shaderpack look good is mostly the light, not the effect list. NeoLux runs the overworld on a palette of its own that follows the height of the sun. At noon the dome is a deep blue over a pale horizon. Towards evening the light turns warm and low, spreads out around the sun, and the rest of the sky goes grey and still.
The sun is strong and the shade is weak, and the shade loses part of its color. A sunlit wall and its shaded side read as two different things instead of the same surface in a bluer tint, and a field of flowers keeps its color where the sun actually hits it.
The vanilla sky colors cannot carry that. The fog color Minecraft reports even turns with the direction the camera faces, so the whole sky changes tint whenever you turn around. The Nether and the End get a look of their own instead: haze in the color of the Nether biome, and a dark violet End sky with veils of nebula, stars and End flashes.
Installation
- Install Iris.
- Drop the NeoLux zip into
.minecraft/shaderpacks/. - In game: Options -> Video Settings -> Shader Packs -> NeoLux.
No resource pack, no mod, no config file to edit. Everything is in the shader options screen.
What is in it
| Area | Implementation |
|---|---|
| Light | Sun and sky light follow the height of the sun, warm at golden hour, block faces shaded by orientation, optional colored block light |
| Sky | Deep blue dome, pale horizon, warm scattering around a low sun, procedural stars, shooting stars, aurora in cold biomes, a rainbow after the rain, a sky of its own for the End |
| Clouds | Procedural volumetric layer lit towards the sun, bright at the rim and darker in the core, mirrored by water, shadows that drift across the land |
| Shadows | Distorted shadow map, hardware filtered samples on a rotated ring, tinted by stained glass and water |
| Plants | Lit like the ground they grow out of, light wraps around them and shines through against the sun, wind moves them |
| Water | Dark and mirroring, two layers of waves with parallax, screen space reflections with sky and clouds behind them, a sharp sun glint, refraction, blur and caustics as options |
| Materials | Glowing ores and light sources, ice and glass that mirror their surroundings, glass with or without frame and streaks, normal and specular maps from labPBR resource packs |
| Ambient occlusion | Screen space, golden angle sampling, 4 to 24 taps |
| Light shafts | Volumetric light marched through the shadow map, 6 to 40 steps |
| Fog | Aerial haze that barely touches the first hundred blocks on a clear day, thicker at night and in rain, haze in the color of the Nether biome |
| Weather | Rain soaks open ground darker and more saturated, with a sun glint and a mirrored sky, puddles, raindrop rings, lightning that lights up the land |
| Distant Horizons | LOD terrain and water lit, shaded and fogged like the rest of the world |
| Post | Soft glow bloom, eye adaptation in the dark, five tonemap curves, lens flare, grading, FXAA or TAA, vignette, grain |
Quality profiles
The profile button sits at the top of the options screen. Six steps, from a machine that should not be running shaders at all to one that has cycles to burn.
| Profile | Shadow map | Filter | AO taps | Light shafts | Reflection steps | Wave octaves | Cloud steps |
|---|---|---|---|---|---|---|---|
| Potato | off | - | off | off | off | off | 4 |
| Low | 1024 / 96 blocks | 1 | 4 | off | off | 1 | 6 |
| Medium | 2048 / 128 blocks | 2 | 8 | 10 | 16 | 2 | 8 |
| High | 2048 / 160 blocks | 2 | 12 | 14 | 22 | 3 | 10 |
| Ultra | 3072 / 224 blocks | 3 | 16 | 20 | 30 | 4 | 14 |
| Extreme | 4096 / 320 blocks | 4 | 24 | 40 | 56 | 4 | 20 |
Each profile writes the complete set of performance relevant options, not just the ones it changes. Switching from Extreme down to Low leaves nothing expensive behind, which is the usual way profile buttons quietly lie to you.
Color, fog and exposure are deliberately left out of the profiles. Those are taste, not performance, and a profile switch should not undo an evening of grading. Colored light and TAA are off by default and not part of any profile either.
Options
113 of them, across ten pages, in English and German.
Shadows: resolution, distance, filter rings, softness, bias, tint strength, sun path rotation.
Lighting: sunlight, ambient, block light and night brightness scale separately, so you can have dark nights without dark caves. Plus torch warmth, minimum ambient, sky light falloff, how much color the shade loses, colored block light, occlusion strength, radius and sample count, and light shaft strength and quality.
Sky: brightness, sun and moon brightness, the glow around the sun, stars with their own brightness and density, shooting stars, the rainbow, aurora in cold biomes or always, and the End sky.
Clouds: NeoLux, vanilla or none. Cover, height, thickness, quality, speed, brightness, whether water reflects them, and the shadows they cast.
Fog: density, an onset distance that keeps the near field clear, haze strength and height, underwater visibility, and the Nether haze.
Water: reflection range and sharpness as separate controls, refraction, blur and caustics, wave height, detail, roughness and parallax, a fixed deep blue or the biome color, opacity, absorption, the sun glint, and a slight wobble underwater.
World and geometry: waving plants and leaves, wind speed, wet surfaces, puddles, raindrop rings and reflections in rain, lightning flashes, the glass style, alpha cutout, and the width and strength of the block selection outline.
Post processing: five tonemap curves (none, ACES, Reinhard, Uncharted 2, Soft), exposure, eye adaptation with its limit and speed, bloom with strength, threshold, radius and level count, FXAA or TAA, sharpening, vignette, and lens flare.
Color and style: saturation, vibrance, contrast, color temperature, film grain, chromatic aberration.
Materials: glowing ores and light sources and how strong they glow, reflections on ice and glass, and labPBR resource packs.
Requirements
- Iris on Minecraft 1.17 or newer. Developed and tested on Minecraft 26.3 with Iris 1.11.
- A GPU that can do GLSL 1.20 with framebuffer objects, which in practice means anything from the last decade.
- Colored light additionally needs compute shaders (OpenGL 4.3). Without them the option stays off and nothing else changes.
- Distant Horizons is optional. Install it next to Iris and NeoLux lights its far terrain as well.
OptiFine is no longer supported from 1.1.0 on. The sky and the light tell the overworld apart from the other dimensions through a uniform only Iris provides, and without it everything falls back to the vanilla colors.
1.17 is the floor because the block selection outline is drawn as widened line quads, a technique that only exists from that version on.
A note on the source
The shader is plain GLSL 1.20 with no external includes and no textures of its own: the clouds and the water surface are procedural. If you want to read how something works, the passes are named after what they do and the buffer layout is documented at the top of lib/common.glsl. The source is on Codeberg.
Licensed GPL-3.0. Fork it, take the parts you like, keep it open.
下载 NeoLux
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NeoLux
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NeoLux
下载 NeoLux
下载 NeoLux
下载 NeoLux
下载 NeoLux
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
大型更新:投下阴影的云层、适应黑暗的眼睛、闪电、彩虹、流星与极光、发光的矿石、镜面般的冰与玻璃、无条纹的玻璃、末地天空、下界迷雾、Distant Horizons、TAA、彩色光照以及 labPBR。
新增
- 在“世界”页面添加玻璃样式选项
GLASS_STYLE:原版(Vanilla)、仅边框(Frame Only,默认值:保留细边框,去除条纹,染色玻璃内部获得均匀的色调)或完全透明(Fully Clear,连边框也去掉)。阴影会跟随相同的形状。 - 云层阴影在大地上漂移,可在“云层”页面设置
CLOUD_SHADOWS和CLOUD_SHADOW_STRENGTH。在土豆配置文件中关闭。 - 眼睛适应机制:在洞穴和其他黑暗区域,画面会逐渐变亮并调整;回到光亮处时再次适应。夜晚的室外保持黑暗。相关设置在“后处理”页面:
AUTO_EXPOSURE、AUTO_EXPOSURE_MAX和AUTO_EXPOSURE_SPEED。 - 闪电照亮天空、云层以及落雷周围的地面,
LIGHTNING_FLASH。 - 雨停后,太阳对面会出现彩虹,并伴有较淡的第二道虹霓。
- 晴朗的夜晚偶尔出现流星。
- 在寒冷生物群系中出现极光,或始终显示,
AURORA。 - 为末地添加了专属天空,包含紫色的星云面纱与星辰,
END_SKY。末地闪烁时会作为一个明亮的斑点亮起,带有紫色光晕,并短暂照亮天空和地面。 - 下界弥漫着与下界生物群系颜色一致的雾气,
NETHER_FOG。 - 新增“材质”页面:
- 发光矿石:在黑暗的洞穴中,彩色的微粒微微亮起。
- 发光光源:荧石、岩浆、火把、灯笼、蛙明灯等更多光源会泛出光晕效果。
- 冰、染色玻璃和着色玻璃会反射周围环境并捕捉阳光。
- labPBR 资源包支持:法线贴图、粗糙度、金属度和自发光,
PBR_FORMAT。
- Distant Horizons:细节层次(LOD)的地形和水体会像世界其余部分一样被照明、投射阴影并受雾效影响,且远距离雾效范围延伸至 Distant Horizons 的范围。
- TAA 作为 FXAA 的替代方案。它能减少叶片和运动边缘的闪烁,并使环境遮蔽、阴影和云层的噪点更加平滑。默认关闭。
- 彩色光照:每个光源都会以其自身的颜色照亮周围环境,例如灵魂火把呈蓝色、岩浆呈橙色、紫水晶呈紫色。通过计算着色器在摄像机周围的体积内扩散。默认关闭,需要支持计算着色器的 GPU。
- 潮湿的地面会在薄薄且略有不平的水膜中反射天空及其周围环境,
WET_REFLECTIONS。在土豆和低配置文件中关闭。
更改
- 默认光照略微减弱:阳光、环境光和方块光照强度设为 0.90,天空亮度设为 0.85,太阳光晕设为 0.12。所有参数均可调节。
- 湿润表面变得更暗且饱和度更高,而非偏蓝,模拟水渗入材料的效果,并捕捉到随着湿润程度增加而变得更加锐利的阳光闪烁。面向雨水的墙壁也会变得潮湿。
修复
- 在 Minecraft 26.x 版本中,由于末地存在天空光,它曾被当作主世界处理:显示了主世界的云层,并将末地天空的一半像太阳一样照亮。现在通过 Iris 仅在末地产生的“末地闪烁”来区分末地。
水面的全新外观,以及修复了在 Minecraft 26.3 中文本显示变为黑色方块的问题。这是一个测试版,尚未在游戏中进行测试。
新增
WATER_PARALLAX(水面视差)沿视线方向分四步偏移波浪表面,从而赋予波浪深度感。在“土豆”和“低”画质配置文件中默认关闭。WATER_BIOME_COLOR(水体生物群系着色)恢复了带有生物群系色调的水体效果。默认关闭,此时水体在任何地方都保持单一的深蓝色。UNDERWATER_DISTORTION(水下扭曲):当相机位于水下时,画面会出现轻微的抖动效果。
更改
- 水面现在由两层构成:逆风缓慢移动的大浪与顺风细碎的涟漪。涟漪随距离逐渐消散,远处的巨浪也随之减弱,因此远处的海面依然能呈现出镜面效果。
- 水面上的太阳不再是柔和的高光,而是太阳圆盘锐利的反射,并且在雨天会消散。
- 降低了顶点波的高度(0.025 格),由两个正弦波合成。
- 新的水体默认设置:固定为深蓝色,透明度在全图范围内恒定为 0.70(不再随深度增加而变浅),粗糙度为 1.00,太阳耀斑强度为 1.00。折射、水下模糊、焦散和吸收效果默认关闭,但仍可在“Water”页面启用。
- 水下雾效:紧贴玩家视野前方呈现一部分水体颜色,影响范围约 30 格,且到达玩家身上的天空光越少,雾气越浓重。
- 光线在水面边缘的包裹方式与植物类似。
修复
- 在 Minecraft 26.3(Iris 1.11)中,文本显示器和全息投影不再在文字后方显示黑色方块。Iris 在没有法线贴图的情况下绘制其背景;现在文本像告示牌一样通过光照贴图进行照明。
新的水域与潮湿天气:没有可见图案的海面、雨滴涟漪和水洼,以及会闪烁而非变成紫色平面的附魔物品。
新增内容
- 水洼:下雨时,面向天空的开阔地面上会积聚成块的水洼,像湖泊一样反射周围环境。随着降雨持续它们逐渐形成,雨后则会干涸。参见“世界”页面中的
PUDDLES和PUDDLE_AMOUNT。 - 雨滴涟漪:下雨时,静止水面和水洼上会出现雨滴形成的涟漪效果,参见“世界”页面中的
RAIN_RIPPLES。在“土豆(Potato)”画质配置中默认关闭。 - 云层:云现在位于固定的世界高度,默认为 Y=192,玩家可以飞入或飞过云层。从内部看,云会像雾一样包围四周;从上方看,则覆盖下方的地面。
CLOUD_HEIGHT现在是世界高度值,而非相对于玩家的高度差。 - 附魔物品:附魔物品、盔甲和掉落物拥有独立的闪光与闪烁程序,在白天和夜晚都会呈现原版紫色光效。
- 水面粗糙度:
WATER_ROUGHNESS(位于“水域”页面)设置水面的波浪起伏程度。
更改
- 水面由三层噪声构成,取代了之前的正弦波,因此湖面不再呈现规律性图案。细微的波纹随距离增加而淡化,远处的海面会变得如镜面般平静。
- 新的水域默认设置:更平静的水面(粗糙度 0.25)、更高的波浪、更强的阳光反光、更多的折射与焦散现象、更少的水下模糊。滑块调节范围比这些默认值更大。
- 水下近距离视野保持清晰,随距离加深变为深蓝色,而非灰色。红色首先消退(如同真实海水),模糊效果从六格远处开始,而非仅在一臂之遥。
- 表面仅在降雨生物群系变湿,降雪或干燥的生物群系不会使表面湿润。
- 云顶更明亮,因此从上方看到的云层在阳光下呈白色,而非米色。
修复
- 修复了波谷处的黑洞问题。陡峭的波浪错误地反射地面而非天空,导致屏幕空间反射沿该射线一直追踪到海底。
- 修复了距离数十格以外的开阔水面上出现的斑点状反射问题,当最微小的波浪小于一个像素大小时出现此问题。
- 修复了附魔物品被扁平的紫色平面覆盖,导致其自身颜色和光照效果丢失的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
光影
以卓越的品质、细节和性能保留 Minecraft 的元素。
光影
[WIP] 一款基于 complementary reimagined 的游戏玩法光影包,具有带锐利阴影的彩色方块光
光影
一款注重游戏体验、风格半写实的光影包
光影
以卓越的品质、细节和性能改造 Minecraft 的视觉效果。
光影
适用于 Minecraft: Java Edition 的光影包。明亮、色彩丰富且与众不同。
光影
一款现代奇幻风格化光影包,拥有彩色光照和惊艳的视觉效果
评论 0
登录后参与评分
还没有评论,来抢沙发吧