Skip to content
프로젝트

MenacingMecha/godot-n64-shader-demo

GitHub에서 보기

소개

Demo project featuring a collection of N64 style shaders and materials for Godot engine.

게임 및 에뮬레이션

이 수치를 측정하는 방법

What you can do

  • 3-point texture filtering
  • Light anti-aliasing
  • Linear mip-map filtering
  • Horizontal blur across the screen

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Godot N64 Style Demo

Godot Version License

Play demo in browser!

A collection of shaders and materials for Godot engine that aim to recreate the aesthetics and quirks of the N64

Example Screenshot

Features

  • 3-point texture filtering
  • Light anti-aliasing
  • Linear mip-map filtering
  • Horizontal blur across the screen
  • Limited color depth
  • Hardware dithering to hide color banding
  • Shiny chrome-like metallic surfaces
  • Billboard sprites
  • Fog to limit draw distance

Demo Controls

  • Space: Toggle camera and object movement
  • R: Reset scene

Tips for best results

  • Use very low poly models
    • Prefer smooth-shading over flat-shading wherever possible
  • Keep textures as low resolution as humanly possible
    • Huge blurry texels are the cornerstone of the N64 look
    • Rely on a mix of vertex colours and texture maps, instead of higher detailed texture maps wherever possible
  • Keep your internal resolution low
    • Resolution on N64 is a complicated affair. While the system would output to video at certain specific resolutions, games themselves would have their own separate internal resolutions
    • These internal resolutions could vary wildly between games, but 320x240 seems to be the most common choice
    • That being said, you can easily go widescreen by using a 16:9 resolution with similar height
  • Use as basic of a lighting set up as you can get away with
    • Modern lighting techniques are a very easy way to break the illusion of appearing like early 3D!
    • Where possible, prefer to use white ambient light, with vertex colours on geometry to fake lighting
  • Prefer additive blending to transparent blending

Changes from v1.x

Major version change

This version is for Godot 4.x only. Please refer to the v1.x branch for Godot 3.x support.

Fog

Godot 4.0 changed how environmental fog worked, the key part being the removal of the "start distance" and "end distance" properties. While a manual workaround could be implemented, there is work being done to restore this functionality in a later version.

Runtime options

In order to release working Godot 4 shaders as soon as possible, runtime options for the demo will be re-implemented at a later date.

Credits

Floor texture (available under CC-0): https://stealthix.itch.io/rpg-nature-tileset

관련 프로젝트 살펴보기

불러오는 중…