Camera View Matrix in Script
I am looking to get a Camera component's "view" matrix in a script. I see that I can get the projection matrix using [Camera.projectionMatrix][1], but I don't see a Camera.viewMatrix property... I want...
View ArticleRevolute Joint for Rigidbody2D
Hello, I am looking for how to create a Revolute Joint using the new Physics 2D. For an example of how a revolute joint behaves: http://blog.allanbishop.com/box2d-2-1a-tutorial-part-2-joints/...
View ArticleAnti Aliasing on Mobile
Hello, I will soon be publishing a 2D game to the mobile stores. The core gameplay looks a little like this with 4x anti aliasing: ![alt text][1] As you can see, it renders nicely... Without anti...
View ArticleAnisotropic AND bilinear or trilinear?
The Unity texture inspector shows the Aniso level when either Bilinear or Trilinear filtering are selected. This doesn't make sense to me because a lot of the education I can find on texture filtering...
View ArticleHow to change mointor/desktop resolution in 4.5.3 and higher
As of unity 4.5.3, Screen.SetResolution and the Unity Resolution Display Dialog, by default, no longer change the monitor/desktop resolution. Instead, it only changes the render target resolution for...
View ArticleHow to make a conditional #pragma surface noforwardadd
Hi there, I'd like to have this in my shader: #if SHADER_API_MOBILE #pragma surface surf Lambert noforwardadd #else #pragma surface surf Lambert #endif But this tries to compile both #pragma surface...
View ArticleVR: Possible to render a multiple mesh/material model transparent without...
I would like to render a model in VR. This model consists of multiple meshes, some with different materials. I would like this entire model to fade in and out without having depth sorting issues and...
View Article
More Pages to Explore .....