Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Graphics
- Built-in effects such as tinting, masking and 2D lighting (with optional per-pixel normal-map shading on sprites for 3D-looking dynamic lights)
- Standard spritesheet, single and multiple Packed Textures support
- Compressed texture support (DDS, KTX, KTX2, PVR, PKM) with automatic format detection and fallback
- 3D mesh rendering with OBJ/MTL model loading, perspective projection and hardware depth testing
- 3D mesh rendering with OBJ/MTL model loading, multi-material support, perspective projection and hardware depth testing
- Built-in shader effects (Flash, Outline, Glow, Dissolve, CRT, Hologram, etc.) with multi-pass chaining via `postEffects`, plus custom shader support via `ShaderEffect` for per-sprite fragment effects (WebGL)
- Trail renderable for fading, tapering ribbons behind moving objects (speed lines, sword slashes, magic trails)
- System & Bitmap Text with built-in typewriter effect
Expand Down
11 changes: 11 additions & 0 deletions packages/examples/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,14 @@ published by Casino RPG on OpenGameArt.org:
These assets are released under **CC0 1.0 Universal (Public Domain
Dedication)** — no attribution legally required, but provided here as a
courtesy to the original creator.

### `multiMaterialMesh` example

Spacecraft 3D models (`craft_speederA`, `craft_speederB`, `craft_racer`,
`craft_miner`) in `public/assets/multiMaterialMesh/` are taken from
**"Space Kit (2.0)"** published by Kenney:

<https://www.kenney.nl/assets/space-kit>

Released under **CC0 1.0 Universal (Public Domain Dedication)** — no
attribution legally required, credited here as a courtesy.
14 changes: 14 additions & 0 deletions packages/examples/public/assets/multiMaterialMesh/craft_miner.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Created by Kenney (www.kenney.nl)

newmtl dark
Kd 0.2745098 0.2980392 0.3411765

newmtl metalDark
Kd 0.6750623 0.7100219 0.7735849

newmtl metal
Kd 0.8431373 0.8705882 0.9098039

newmtl metalRed
Kd 1 0.6285242 0.2028302

Loading
Loading