leopeltola/Godot-3d-pixelart-demo
소개
Godot 4용 3D 픽셀 아트 외곽선·하이라이트 셰이더입니다.
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalGodot 4 3D Pixelart Shader Demo
This demo shows a basic setup for using the 3D pixel art outline/highlight shaders I made.
Note that the shaders only work as intended when using a low game resolution. If you want to have a higher resolution UI you should render the "game" part inside a sub-viewport and apply the texture to a sprite. If you want to pixelize a high-resolution render you'll have to use something else, though this shader could be combined with a pixelization shader. The shader is meant for the Forward+ renderer.
Before and after. Shader in screenshot is a previous iteration, current one is cleaner.
Inspired by this shader Kody King.
The shader can be used as both a post-processing and object shader. It may cause bugs with transparency, I recommend using it on specific objects for finer control.
Notes
- Orthographic camera has some quirks that are non-specific to the shader:
- SDFGI & VocelGI not supported (Github issue)
- DirectionalLight3D shadows behave weird. To fix configure either your Camera's
Farproperty or your DirectionalLight3D'sSplit 1property.
- Special thanks to oJadeo for informing me about Godot 4's normal buffer :)
License
MIT, you can use & modify it however you like.
If you use the effect in a game I'd love to see it!
관련 프로젝트 살펴보기
불러오는 중…