Skip to content
NP Editor Docs
This is not the latest version — view the latest

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 in 0.10.2 is 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 “게임 화면”.

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

    Known issue in 0.10.2: the button text “게임 화면” (“Game view”) is not translated.

  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

    Known issue in 0.10.2: with the Default preset, the name field shows the untranslated Korean look name “기본” (“Default”).

  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.
  • 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)
Render the current view as a large imageFile > High-res screenshot… — redraws with the current camera and view mode (including F6)
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.
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
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.
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.