Skip to content
modkitv0.2

Multi-texture blending example

← All examples05_multitexture

Demonstrates: - Loading multiple textures - Binding textures to different texture units via mk_draw_desc - mk_layout/mk_vbuf/mk_ibuf for geometry - mk_pipeline_create() + mk_pass_draw() submission spine - Alpha blending textures in the fragment shader

Multi-texture blending example

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
5
Tags
uilayoutshaderstexture
Source
examples/05_multitexture/main.c

Build and run

./scripts/build-linux.sh release --target=05_multitexture --run