Demo: Exponential Cascaded Shadow Mapping with Emscripten and Minko

121 views
Skip to first unread message

Jean-Marc Le Roux

unread,
Feb 3, 2015, 8:18:38 AM2/3/15
to emscripte...@googlegroups.com
Hi,

I just published a new demo of my work on the Minko engine to bring Exponential Cascaded Shadow Mapping to the web:


Everything compiles flawlessly from C++11 to JS/WebGL. I just had to tweak the GLSL code to  be WebGL compliant (especially remove the branches).

I posted all the C++/GLSL code. It will be part of the next beta of the Minko engine and soon be available on the dev branch on github.
The math is done using GLM, a header-only C++ math library with reasonably good performances and a GLSL-oriented coding style.
Perfect for cross-platform 3D projects I think.

Regards,

Floh

unread,
Feb 4, 2015, 5:54:23 AM2/4/15
to emscripte...@googlegroups.com

Great writeup! But the demo doesn't work for me, also after the update #2 (tested on OSX 10.10 with Intel HD4000 in Firefox36, Chrome40, Safari8, and on Windows7 with Chrome Canary 42 and FF36), I'm getting some sort of uncaught exception from emscripten on the JS console:

Cheers,

-Floh

Jean-Marc Le Roux

unread,
Feb 4, 2015, 5:57:34 AM2/4/15
to emscripte...@googlegroups.com

Thanks for the feedback!

@Floh when does the error occur? immediately at launch or after a key stroke?

--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/MzS0qERImoQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Floh

unread,
Feb 4, 2015, 5:57:21 PM2/4/15
to emscripte...@googlegroups.com
It was showing "Downloading..." then "Running..." and then black screen without pressing any keys our mouse buttons.

But right now it is working! (at least on OSX with Intel HD4000 and another Mac with Intel Iris graphics in FF and Chrome, can't test on Windows at the moment), I guess you uploaded a new version?

Cheers,
-Floh.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.

Jean-Marc Le Roux

unread,
Feb 4, 2015, 6:23:19 PM2/4/15
to emscripte...@googlegroups.com

Yep. Looks like the previous one was not up to date.

To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages