📎
1 file
5,727 chars
📄
pasted-code-1793109193664.txt
txt
127 lines
▶
pasted-code-1793109193664.txt
txt
127 lines
MASTER PROMPT — Minecraft Shader Pack: “Realistic-Lite” for NVIDIA GeForce GT 610
ROLE:
You are an experienced Minecraft shader developer and GPU optimization specialist. You understand GLSL, OptiFine/Iris shader pipelines, low-end GPU limitations, and performance-first rendering for Minecraft: Java Edition.
OBJECTIVE:
Create a Minecraft shader pack that makes the game look semi-realistic and visually impressive while remaining stable and playable on an NVIDIA GeForce GT 610. The shader must NOT crash the PC and must NOT cause severe frame drops. Performance and stability are the highest priority. Visual realism must be achieved through cheap, well-optimized techniques.
TARGET HARDWARE AND COMPATIBILITY:
- Target GPU: NVIDIA GeForce GT 610 (1–2 GB VRAM, entry-level Fermi/Kepler architecture).
- Shader language: GLSL 1.20 (OpenGL 2.1+) for maximum compatibility with older drivers and Minecraft shader loaders.
- Loader compatibility: Must work with Iris (preferred) and OptiFine.
- Resolution target: Playable at 720p (1280x720) with render distance 6–8 chunks.
- FPS target: At least 30–40 FPS on the “Fast” preset on a GT 610. The “Potato” preset must be even lighter.
- VRAM budget: Total internal buffers and shadow textures must not exceed 512 MB.
VISUAL TARGET:
The shader should look noticeably better than vanilla Minecraft and feel “realistic-lite,” but it must avoid expensive techniques that are unsuitable for a GT 610.
Required visual improvements:
- Soft and believable lighting.
- Simple ambient occlusion (lightweight SSAO).
- Dynamic sunlight and moonlight.
- Warm torch/block light.
- Soft shadows using low-resolution shadow maps and PCF.
- Gentle atmospheric fog and height fog.
- Simple sky gradient with subtle haze.
- Basic water waves, simple refraction, and light Fresnel.
- Lightweight bloom using dual-Kawase.
- Simple color grading and tone mapping.
Optional visual improvements:
- Basic PBR support if a resource pack provides it, but the shader must still look good without PBR.
- Optional screen-space reflections (SSR) for water, but OFF by default.
- Optional lightweight volumetric light, but OFF by default and extremely cheap if enabled.
FORBIDDEN OR DEFAULT-OFF EFFECTS:
Do NOT enable the following by default, and preferably do not implement them unless they are extremely cheap and optional:
- Ray tracing or path tracing.
- High-resolution shadow maps above 1024.
- Full-screen screen-space reflections.
- Heavy volumetric cloud raymarching.
- Motion blur.
- Depth of field.
- Lens flare.
- Heavy TAA.
- Any effect that causes large VRAM usage or long shader compilation times.
TECHNICAL AND OPTIMIZATION REQUIREMENTS:
- Use one shadow pass and one post-processing pass only.
- Keep shadow map resolution between 512 and 768 by default.
- Limit shadow distance to 64 blocks or less.
- Use PCF with a maximum of 2x2 or 4x4 samples.
- Limit SSAO samples to 4–8 maximum.
- All expensive effects must be fully disableable.
- Disabled effects must have zero runtime cost and should not be compiled if possible.
- Use early exits and simple branching to avoid unnecessary computation.
- Keep all loops small and bounded.
- Avoid large textures and unnecessary framebuffers.
- Ensure the shader does not crash on 1 GB VRAM.
- Include safe defaults that automatically choose the “Fast” preset when VRAM is 2 GB or less.
QUALITY PRESETS:
Provide clear presets:
1. Potato:
- Shadows: OFF
- SSAO: OFF
- Bloom: OFF or very cheap
- Clouds: 2D only
- Water: basic waves only
- Fog: simple distance fog
2. Fast (default for GT 610):
- Shadows: ON at 512 resolution
- PCF: 2x2
- SSAO: 4 samples
- Bloom: lightweight dual-Kawase
- Clouds: simple 2D or cheap layered clouds
- Water: simple waves and Fresnel
- Fog: simple height fog
3. Balanced:
- Shadows: ON at 768 resolution
- PCF: 4x4 maximum
- SSAO: 8 samples
- Bloom: slightly stronger
- Clouds: slightly more detailed
- Fog: more detailed height fog
FILE STRUCTURE AND CONFIGURATION:
Create a complete shader pack folder named `shaders/` containing the necessary files, such as:
- gbuffers_terrain.vsh / .fsh
- gbuffers_water.vsh / .fsh
- gbuffers_skybasic.vsh / .fsh
- composite.fsh
- final.fsh
- shaders.properties
The `shaders.properties` file must include:
- Grouped settings menus: Shadows, Sky, Water, Post-Processing, Performance.
- Safe defaults for GT 610.
- Clear descriptions for each option.
- A warning for options that may reduce FPS or cause instability.
DELIVERABLES:
Provide the following:
1. Complete shader source code ready to zip and install.
2. A `shaders.properties` file with menus and safe defaults.
3. A short README containing:
- Target hardware specifications.
- Installation instructions for Iris and OptiFine.
- Preset table showing which effects are ON/OFF.
- Performance tips such as lowering render distance, closing background apps, and disabling heavy options.
CODING STYLE:
- Write clean GLSL code.
- Add clear comments explaining each section.
- Keep the code beginner-friendly and easy to modify.
- Use simple and efficient math.
- Avoid unnecessary texture fetches.
- Avoid expensive functions inside loops.
- Make every heavy effect optional.
- Prioritize stability over visual complexity.
ADDITIONAL INSTRUCTIONS:
If an effect cannot run safely on a GT 610, do NOT force it. Provide it as an optional “OFF by default” setting and explain that it requires a stronger GPU. Focus on cheap but effective lighting, shadows, fog, water, and color grading. The final result must look realistic-lite, run stably on a GT 610, and never crash the PC.
KodariOct 27 at 1:57 pm 1
RealisticLiteShaders
RealisticLiteShaders is a performance-first Minecraft shader pack designed for the NVIDIA GeForce GT 610. It delivers semi-realistic visuals through optimized techniques including lightweight SSAO, low-resolution PCF shadows, dynamic sun/moonlight, warm block lighting, atmospheric height fog, simple water waves with Fresnel, and dual-Kawase bloom. The pack features three quality presets (Potato, Fast, Balanced) that automatically adapt to hardware capabilities, with all expensive effects disabled by default. It maintains a 512MB VRAM budget, uses GLSL 1.20 for maximum compatibility with Iris and OptiFine, and targets 30-40 FPS at 720p. The shader prioritizes stability and performance while providing optional enhancements like PBR support and screen-space reflections that remain off by default.
Add the GLSL 1.20 shader passes and shared settings.
Add OptiFine/Iris menus, preset profiles, and safe GT 610 defaults.
Add installation, preset, and performance notes in a README.
Created the Realistic-Lite shader pack sources, OptiFine/Iris options and preset profiles, and README.md.
Fast is the default, with a 512 shadow map and lightweight effects. For GT 610 safety, Balanced keeps that same map size and increases shadow-filter cost; bloom is a four-tap approximation, and screen-space refraction is omitted. FPS and stability depend on the specific GPU, driver, and game setup.
Kodari can make mistakes. Review important code before using.
Files
shaders
README.md
Code
20 406
en_US.lang
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30