- Home /
Normelized View Port Rect-problem in Firefox (web player build)
I'm trying to make a splitscreen game. I'm using two cams with following Normelized View Port Rect-properties:
Cam1: X=0 Y=0 W=1 H=0.5
Cam2: X=0 Y=0.5 W=1 H=0.5
It works fine when testing in Unity and when running a build in Chrome/Safari. But in Firefox it only shows one cam.
I made the following cam as a test:
X=0 Y=0 W=0.25 H=0.25
It should take up the lower left sixteenth of the screen. But in Firefox it takes up the lower left quarter of the screen! So it seems like the W- and H-values are doubled somehow.
What to do?
Is there any special settings, I should be aware of?
I'm on a MacBook Pro Retina 15", medio 2012
OSX: 10.8.2
Unity Pro, Version: 4.0.1f2
Reinstalled Unity-plugin: 4.0.1f2
Firefox: 18.0.1
I really hope someone can help, as I depend on this to work! :)
It's quite strange. I Have exactly the similar problem. First camera render ok, but second one has a different artifacts.
In Top left corner camera render good. But another space is rendered by another camera
upd1: Also I found that if change "Rendering Path" for my cameras to "Vertex Lit" everything works ok. But "vertex lit" doesn't support main features like batching. check here http://docs.unity3d.com/Documentation/$$anonymous$$anual/RenderingPaths.html
upd2: Wow, Dastish Fantastish!!, i switched "Rendering Path" for all cameras back to "playerSettings" rebuilt project, and now everything works well..
Your answer
Follow this Question
Related Questions
Unity Web Player distorts objects 0 Answers
webplayer Chrome not working, Firefox ok 7 Answers
the unity3d webplayer doesn´t work at IE 0 Answers
web player game screen is splited in the firefox browser for mac 0 Answers
Camera rendering problem building for Web Player using FireFox on Mac 0 Answers