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.
Shared publiclyView activity