Embedding Unity webGL in a homepage

I really like what sketchfab have done on their homepage, where they have webGL running within their hero graphic. https://sketchfab.com/

Is it possible to do the same thing as cleanly as they have with Unity webGL or are you always going to have the loading screen coming up?

1 Like

Hey Arumiat, you are right! That’s a great example of what I want to do – that is have a WebGL scene live in an AngularJS website. I would really like to know how to avoid the longer load time and do something (apparently) cached and ready like Sketchfab has done. Please let us know if you find anything or get responses and we’ll do the same.
Thanks!

You can replace the loading screen with whatever you want. It is a script called UnityProgress.js in the default template. You can modify that to be whatever you like.

1 Like

To ignite an old thread, is it also possible to render a Unity scene with a transparent background? So that the underlying hero graphics / text show through?
Thanks T

Maybe this might help? http://forum.unity3d.com/threads/webgl-transparent-background.284699/#post-1880667

1 Like

Hey I can’t figure out how to implement this. Am I supposed to load the lib file somehow? I’m not good with JavaScript… I’ve set my camera background to singlecolor, with alpha 0, but it’s not working.