Skip to content
NP Editor Docs

Game view and shader pack

The game view (F6) is a view mode that draws the viewport with the same GLSL code as the NP Lite shader pack. The “Atmosphere · lighting” look you set in the editor appears almost the same in the game (Iris · OptiFine + NP Lite). Path tracing (F7) is a preview that draws shadows, indirect light and reflections with voxel ray tracing. Make shader pack turns the look you set into an NP Lite shader pack zip. The shader pack that 0.11.0 makes is named NP Lite v3.24.

Open the sample world castle and start from an angled top-down view.

  1. Click the View mode button on the left bar of the viewport (it shows the current view name; Lit by default) and select Game view (shader). The viewport switches to the game view and the button text changes to “Game view”.

    Picking the Game view (shader) F6 item in the preview group of the View mode menu

  2. Click the sun icon button (tooltip Sun · time of day · shadows · bloom · SSAO · mipmaps) and click Sunset. The time of day becomes 18:15.

    Picking the Sunset time-of-day button in the window opened with the sun button

  3. Click the fog icon button (tooltip Atmosphere · lighting (shader preview F6 look · make shader pack)). The “Atmosphere · lighting” panel opens. At the top is the Preset list.

    The Atmosphere · lighting button and the Preset list at the top of the panel

  4. Click the Preset list and select Morning mist. The look with height fog and volumetric light shafts appears in the viewport right away.

    Picking Morning mist from the Preset list

  5. Type doc_look in the name field (placeholder “Look name”) and click Save. The look file doc_look_v1.json is created, and from then on it appears under Saved looks in the Preset list.

    doc_look typed in the Look name field and the Save button picked

  6. Scroll to the bottom of the panel and click Make shader pack. NP-Lite_doc_look_v1.zip is built from the current look and the notification shows the file name. Also put in Minecraft shaderpacks folder, right above it, is off by default.

    The Make shader pack button at the bottom of the panel

  7. Click an empty spot in the viewport to close the panel. The sunset and morning mist look shows in the game view as is.

    The game view drawn with the sunset time of day and the morning mist look

  8. Click the sun icon button and click Day, then press F7 to switch to path tracing. The “Ray tracing” bar (quality · debug view · time per stage) appears at the bottom left of the viewport. When the camera stops, frames accumulate and the image gets cleaner.

    The path tracing view and the Ray tracing bar at the bottom left

  9. Press F1 to return to the Lit view.

Put the zip you made into the Minecraft shaderpacks folder without unpacking it, and select it in the Iris shader list (this happens in the game, so there is no screenshot).

  • Switch view modes directly with keys: F1 Lit · F2 Unlit · F3 Wireframe · F4 Lit+Wire · F5 Normals · F6 Game view · F7 Path tracing. When you switch with a key, the notification shows something like “View: Path tracing”.

  • In the game view, press G to turn the floor grid and chunk borders on and off. The grid in other view modes stays as it is.

  • Path tracing takes the sun from the time of day. At sunset or night the scene is very dark — to see the shapes, click Day in the sun button’s window first.

  • The Big settings sliders in the panel (50% = the preset as is) move the linked detail values together. For example, raising Fog to 80% also increases the distance fog values. Set the direction with Big settings first, before you fine-tune each detail slider.

  • Weather pictures: when it rains, the ground gets wet and dark in F6 and F7, puddles form and reflect the sky and surroundings, and raindrop splashes, puddle ripples, and lens drops are drawn. Lightning flashes the sky and the scene. Set the values in the Weather window or with the Sequencer weather keys (Weather, rain and lightning).

  • Clicking Make shader pack again does not overwrite the previous zip; it builds a new one with a higher number, like NP-Lite_doc_look_v2.zip. Use this to compare several versions in the game while changing the look a little at a time.

WhatWhere
Game viewF6, or Game view (shader) in the View mode menu on the left bar of the viewport
Path tracingF7, or Path tracing in the View mode menu
Sun · time of dayThe sun icon button on the left bar of the viewport
“Atmosphere · lighting” panelThe fog icon button on the left bar of the viewport. Click it again or click outside to close it.
Formula editingEdit formulas… at the bottom of the panel
Apply a saved lookDouble-click a tile in Shader looks in the Content Browser or drag it onto the viewport (Content Browser)
WeatherThe cloud icon button on the left bar of the viewport (Weather, rain and lightning)
Render the current view as a large imageFile > High-res screenshot… — redraws with the current camera, view mode, and time as they are (including the F6 sky and post-processing, F7 accumulated over 64 samples, no editing lines)
Render a sequence as videoFile > Render Sequence… (video · image sequence) (Sequence video render)
PresetLook
DefaultThe default values. Eye adaptation, wind and entity shadows are on.
Clear daySlightly brighter and more saturated. Light distance fog.
Morning mistLow height fog above the ground · light shafts · drifting mist.
Sunset light shaftsWarm sunset colors · strong light shafts · bloom.
FantasyHigh saturation · purple fog · cloud shadows · contact shadows.
Overcast rainLow saturation · thick distance fog · rain fog. Bloom is off.
Close to vanillaAlmost all decorative effects off. The quality level is “Low”.
Ultra quality (SGI · DGI)Quality level “Ultra” — turns on static GI · screen-space GI · PCSS · GTAO · TAA. The heaviest.
Night sanctuaryFor a large castle at night. Distant light bloom correction 1.2 · bloom 1.6 · warm lights · colored block light · a faint navy distance fog keep lit windows and braziers glowing from far away.
UnlitSanctumA preset for the demo map.
FieldMeaning
Time of day (shader preview)0–24 h slider. The Day (13:00) · Sunset (18:15) · Night (23:00) buttons set it directly. The sun position in the game view and path tracing follows this value.
Sun azimuth (°) · Sun elevation (°)The sun direction in other view modes such as Lit.
Bloom (light bleed) · SSAO (corner shading) · ShadowsTurn preview effects on and off.
PartContents
PresetThe built-in presets in the table above + Saved looks. A built-in preset is applied on top of the current look: it changes only the sky decoration fields the preset sets itself and keeps the detail values that have a lock. A saved look replaces the whole look.
Name field · SaveSaves the current look as Documents\NPEditor\looks\<name>_vN.json (never overwrites).
Big settingsWater realism · Bounce light · Fog · Light shafts · Glow (0–100%, 50% = the default look). A field whose detail value you changed directly gets a lock and no longer follows Big settings — click All auto to make it follow again.
Game view (F6)The table below. These are editor view settings, so they are not included in the shader pack.
Tone · Lighting · AtmosphereDetail values such as exposure · contrast · saturation · sunlight · shadows · fog. The reset icon to the right of a slider returns that field to its default (or to Big settings for fields linked to Big settings).
Game shader pack only (not visible in preview)Quality level · Static GI (light volume) · Screen-space GI (dynamic) · PCSS soft shadows · GTAO (accurate corner shading) · TAA (reduce jaggies) · Depth of field · Motion blur etc. — visible only in the game shader pack. Preview similar indirect light with path tracing.
▸ Advanced values (game shader pack · expert)Enter shader options that have no look field as numbers.
▸ Light per source (color · spread · halo)Light color · spread · halo for each light source group. All default resets them.
Edit formulas…A window for editing 9 shader functions (tone mapping · fog amount · fog color · sky gradient etc.) in GLSL. Check shows compile errors with line numbers.
Also put in Minecraft shaderpacks folderWhen on, finds .minecraft\shaderpacks and saves there too. Off by default.
Make shader packBuilds Documents\NPEditor\shaderpacks\NP-Lite_<look name>_vN.zip from the current look + sky customization + look volumes.

Distant light bloom correction · water color

Section titled “Distant light bloom correction · water color”

These look values have no fields in the “Atmosphere · lighting” panel. The preset Night sanctuary turns the distant light bloom correction on. Set both with the AI’s shader_look tool; in the game you can also change them in the shader pack options.

Look keyWhat it doesShader pack options
bloom_distance (0–2, 0 = off) · bloom_distance_start (8–128 blocks, default 32)Keeps the bloom of distant lit windows and large braziers from fading out: from the start distance, the bloom grows each time the distance doubles, strongest at 16 times the distance. The sky and the sun are unchanged.“Post Processing” → “Far Light Bloom Boost”
water_tint (#rrggbb) · water_tint_mix (0–1, 0 = biome water color)Mixes a chosen color into the biome water color (a teal pond, for example). Set it per place with Water color · Water color mix in a look volume.“Water”
F6 · F7 pictureIn the shader pack
Wet ground · puddles · puddle reflections · ripples · raindrop splashesThe same formulas (the shader pack option screen “Weather” — puddles, screen-space reflections, and so on). The game counts wetness from the vanilla rain strength.
Lens drops · lightning flashThe same formulas. The lens drop amount and flash strength are single pack options, so they do not change per sequence key.

Make shader pack bakes the weather values of one cutscene sequence into the pack defaults: wind strength and direction, the lens drop amount (LENS_DROPS_AMOUNT), the fixed puddle amount (PUDDLE_AMOUNT), and the lightning flash strength. The value used is the one used longest during the sequence (the time-weighted median). If no sequence has rain or lightning, the pack is the same as before. It is the server that makes it rain in the game (“In the game” in Weather, rain and lightning).

The light of the Sun (directional light) actor (Light and biomes), colored shadows through stained glass, volumetric light shafts, and the camera lens flare are drawn by F6 and the shader pack with the same GLSL. Make shader pack (both the “Atmosphere · lighting” panel and the AI tool) bakes the sun actor’s light map into the pack and automatically turns on the pack options NP_XSUN (sun actor) and NP_FLARE (lens flare). If there is no sun actor or lens flare to bake, both options stay off.

A camera cut’s field of view and depth of field (the camera actor’s Lens (mm) and the Sequencer’s Lens (focus·f·mm) track) are drawn in the game during a cutscene when the NP Lite option NP_LENS (on by default) and server NPBridge 2.3.0 or later are present. The normal Play screen does not change. If the server is an older version or there is no shader pack, the cutscene plays without field of view or depth of field.

Light on physics blocks and block displays

Section titled “Light on physics blocks and block displays”

F6 paints physics body blocks and block display actors with the single light of the cell at the entity’s position, like the game’s block display (BlockDisplay). So a block display under a street lamp looks bright as in the game (the old F6 painted it dark).

FieldDefaultMeaning
Render distance (chunks)12 (192 blocks)Set it to match the game option “Render Distance”. 2–32.
Overview mode (editor only)OnWhen the camera is high or far outside the map, pushes the end fog out to the map edge and reduces light shafts (they start to fade at 48 blocks above ground and turn off at 144).
Grid in game viewOffWhether to show the floor grid and chunk borders in F6. Same as G.

The status text below the fields tells you whether the current view matches the game: “Applies in F6” outside F6, and something like “Now: same as game (N blocks above ground)” in F6.

Path tracing bar (“Ray tracing” at the bottom left)

Section titled “Path tracing bar (“Ray tracing” at the bottom left)”
FieldValue
QualityLow (35%) · Medium (50%, default) · High (50%, 2× rays) · Ultra (100%, 2 bounces). The voxel window size is added inside the parentheses.
Debug viewFinal · Lighting only · Albedo · Normals · Reflections only · Accumulated frames · Voxel material · World position
Status textGPU time per stage (ms) · voxel window · chunk count · block light count · trace resolution. When the quality is not Low and a frame takes over 40 ms, “Slow — try lowering quality” is added.
ShortcutAction
F6Game view
F7Path tracing
F1 · F2Lit · Unlit
G (in the game view)Toggle the game view grid
Ctrl+F7Toggle the performance display
  • The game view and path tracing need the Forward+ renderer (Vulkan · D3D12 · Metal). With another renderer, F6 draws the older approximate view and F7 does not turn on and tells you why. When you reopen the editor, a view saved as path tracing opens as the game view.
  • The shader look is saved with the world file (.npworld). Opening another world switches to that world’s look.
  • The preview and the game draw differently, so they are not exactly the same (see the note at the bottom of the panel).
  • If the view is slow, select the preset Low-end PC in Tools > Performance settings… (view distance · LOD · shadows · threads).
  • The shader pack is for Iris · OptiFine (the note in the zip = Fabric + Sodium + Iris, Minecraft 1.21.11). You can change the quality level to Low · Medium · High · Ultra in the in-game shader settings.