WarpDrive Celestials
WarpDrive Celestials 是 WarpDrive 的一个视觉增强模组,将其扁平化的星球渲染转换为 3D 天体。该模组仅支持客户端安装,因此即使在不强制要求此模组的服务器上,玩家也可以单独启用 3D 星球效果。为了实现全服务器范围的完整支持(包括所有玩家的共享视觉效果、自定义光环、自定义昼夜贴图以及额外的渲染层行为),也需要在服务端安装此模组。
默认情况下,星球以 Minecraft 风格的方块形式渲染,配置文件中还提供可选的球体渲染模式。球体渲染包含 LOD(细节层次)设置,用于降低较小或远处物体的网格复杂度,并提供“性能”、“平衡”和“质量”三种预设。
WarpDrive Celestials 最初是为 The Empire Strikes Block 服务器开发的。
功能特性
- WarpDrive 星球的 3D 天体渲染
- 默认使用方块形态星球
- 可选的球体渲染模式
- 球体 LOD 预设以提升性能
- 微妙的随机星球倾斜与旋转
- 仅客户端支持的单人视觉升级
- 服务端支持以实现自定义渲染层的共享
- 自动检测立方体贴图纹理
- 支持星球、云层及渲染层的立方体贴图
- 自动实现背光面阴影
- 可选自定义夜间贴图
- 水平与垂直方向的星球环
- 支持多层光环
- 可配置的星空渲染预设
星球渲染
默认情况下,星球以方块形式渲染,以更好地契合 Minecraft 的视觉风格,同时让天体比 WarpDrive 原始的扁平渲染更具立体感。
也可以在配置中启用球体渲染,以获得更平滑的星球外观。当使用球体时,LOD 预设控制着球体网格的细节程度,有助于减少较小或远处物体的渲染开销。
客户端与服务端用法
如果你只想在本地获得视觉升级,可以仅将 WarpDrive Celestials 安装在客户端。这使得玩家即使在不需要此插件的服务器上也能看到 3D 星球。
对于希望所有玩家看到相同自定义视觉效果的服务端和整合包,也应将该模组安装到服务端。只有安装服务端版本,才能正确共享自定义光环层、自定义昼夜贴图以及额外的天体渲染层行为。
立方体贴图纹理支持
WarpDrive Celestials 支持用于星球、云层及其他类似渲染层的立方体贴图(Cubemap)。普通的单面贴图使用 1:1 的宽高比,即图像为正方形,例如 512x512 或 1024x1024。而立方体贴图使用 2:1 的宽高比,即图像宽度是高度的两倍,例如 1024x512。
当检测到兼容的 2:1 贴图时,模组会自动将其映射到星球模型的各个面上。这允许星球使用正确的多面纹理,而不是在每个侧面重复使用同一张图片。
昼夜贴图
默认情况下,星球会自动应用背光面阴影,使光照变化时呈现出更自然的昼夜外观。
创作者还可以添加专用的夜间贴图以实现更精细的效果,例如发光的城市灯光或亮起的区域。要添加自定义夜间贴图,请在星球正常基础贴图之后直接放置另一个渲染层,并使用相同的纹理文件名,但在文件名前加上 night_。
示例:
<render texture="warpdriveaddon:textures/cosmos/celestial/coruscant.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/night_coruscant.png" />
WarpDrive Celestials 会自动检测匹配的配对,并在星球的暗面使用夜间贴图。
星球环
WarpDrive Celestials 还支持通过额外的渲染层来添加自定义星球环。要添加光环,请在星球正常基础贴图之后直接放置一个或多个光环渲染层,并在纹理文件名前加上 ring_。
示例:
<render texture="warpdriveaddon:textures/cosmos/celestial/saturn.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/ring_saturn_1.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/ring_saturn_2.png" />
可以使用额外的光环层来表示更宽或更远的光环。模组也支持垂直光环,只需在纹理文件名前加上 ring_vertical_。
示例:
<render texture="warpdriveaddon:textures/cosmos/celestial/uranus.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/ring_vertical_uranus.png" />
WarpDrive Celestials 会自动检测这些光环层,并将其渲染在对应的星球周围。
星空渲染预设
模组内置了多种可配置的星空渲染预设:
- 自定义 WarpDrive Celestials 星空颜色
- WarpDrive 默认的星空颜色
- 全白星空
- 无星空
这有助于匹配不同整合包的视觉风格,无论你想要色彩丰富的太空背景、更简洁的 Minecraft 风格天空,还是完全没有任何背景星星。
WarpDrive Celestials
WarpDrive Celestials is a visual addon for WarpDrive that turns its flat planet renders into 3D celestial bodies. The mod can be used client-side only, so individual players can enable 3D planets even on servers that do not require it. For full server-wide support, including proper shared visuals for all players, custom rings, custom day/night textures, and additional render-layer behavior, the mod should also be installed on the server.
Planets render as Minecraft-style cubes by default, with an optional sphere render mode available in the config. Sphere rendering also includes LOD settings to reduce mesh complexity for smaller or distant objects, with Performance, Balanced, and Quality presets.
WarpDrive Celestials was originally made for The Empire Strikes Block server.
Features
- 3D celestial bodies for WarpDrive planets
- Cube planets by default
- Optional sphere rendering
- Sphere LOD presets for better performance
- Subtle randomized planet tilt and rotation
- Client-side-only visual support for individual players
- Server-side support for shared custom render layers
- Automatic cubemap texture detection
- Support for planet, cloud, and render-layer cubemaps
- Automatic night-side shading
- Optional custom night textures
- Horizontal and vertical planet rings
- Support for multiple ring layers
- Configurable star rendering presets
Planet Rendering
By default, planets render as cubes to better match Minecraft’s visual style while still making celestial bodies feel more dimensional than WarpDrive’s original flat renders.
Sphere rendering can also be enabled in the config for a smoother planet look. When spheres are used, the LOD preset controls how detailed the sphere mesh is, which can help reduce rendering cost for smaller or distant objects.
Client and Server Usage
WarpDrive Celestials can be installed client-side only if you just want the visual upgrade locally. This lets players see 3D planets even on servers that do not require the addon.
For servers and modpacks that want everyone to see the same custom visuals, the mod should also be installed on the server. Server installation is needed for proper shared support of custom ring layers, custom day/night textures, and additional celestial render-layer behavior.
Cubemap Texture Support
WarpDrive Celestials supports cubemap textures for planets, clouds, and similar render layers. A normal single-face texture uses a 1:1 aspect ratio, meaning the image is square, such as 512x512 or 1024x1024. A cubemap texture uses a 2:1 aspect ratio, meaning the image is twice as wide as it is tall, such as 1024x512.
When a compatible 2:1 texture is detected, the mod automatically maps it across the planet model’s faces. This allows planets to use proper multi-sided textures instead of repeating the same image on every side.
Day and Night Textures
Planets receive automatic night-side shading by default, giving them a more natural day-night appearance as the lighting changes.
Creators can also add dedicated night textures for more detailed effects, such as glowing city lights or illuminated regions. To add a custom night texture, place an additional render layer directly after the planet’s normal base texture and use the same texture file name with night_ added to the front.
Example:
<render texture="warpdriveaddon:textures/cosmos/celestial/coruscant.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/night_coruscant.png" />
WarpDrive Celestials detects the matching pair automatically and uses the night texture on the dark side of the planet.
Planet Rings
WarpDrive Celestials also supports custom planet rings through additional render layers. To add rings, place one or more ring render layers directly after the planet’s normal base texture and use ring_ at the front of the texture file name.
Example:
<render texture="warpdriveaddon:textures/cosmos/celestial/saturn.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/ring_saturn_1.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/ring_saturn_2.png" />
Additional ring layers can be used for wider or farther-out rings. The mod also supports vertical rings by using ring_vertical_ at the front of the texture file name.
Example:
<render texture="warpdriveaddon:textures/cosmos/celestial/uranus.png" />
<render texture="warpdriveaddon:textures/cosmos/celestial/ring_vertical_uranus.png" />
WarpDrive Celestials detects these ring layers automatically and renders them around the matching planet.
Star Rendering Presets
The mod includes several configurable star rendering presets:
- Custom WarpDrive Celestials star colors
- WarpDrive’s default star colors
- All-white stars
- No stars
This makes it easier to match the visual style of different modpacks, whether you want a more colorful space backdrop, a cleaner Minecraft-style sky, or no background stars at all.
评论 0
登录后参与评分
还没有评论,来抢沙发吧