WebGL fullscreen aspect ratio

Hello !

I’m searching a way to keep the aspect ratio into the WebGL fullscreen mode, to avoid distorsions with screens who have different aspect ratio than the default/exported one ? With black letterbox or pillarbox around.

Thanks for your help !

I’m also looking for a solution that fills the browser window and adjusts the window size.

Thanks in advance.

Best,

Knusper

http://wiki.unity3d.com/index.php?title=AspectRatioEnforcer

–Eric