Shared publicly  - 
Fun with Emscipten, Crunch, and DXT
Or: Craziness Compiling C++ into Javascript

Problem: Textures use too much GPU memory
Solution: DXT!
Problem: Loading JPG and then encoding to DXT in Javascript is slow
Solution: Crunch!
Problem: Need to write Crunch decoder in Javascript.
Solution: Emscripten!

This is a fun little project I've done over the past week.

Thanks to +Rich Geldreich, +Colt McAnlis, and +Travis Heppe for their help on this.
Vincent Scheib's profile photoBrandon Jones (Toji)'s profile photoJose Luis Hidalgo's profile photoBrad Jones's profile photo
Very nice, now we need a dart version of it !
Add a comment...