Quantcast
Channel: Latest Questions by allenwp
Browsing latest articles
Browse All 14 View Live

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 Article



Revolute 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 Article

Anti 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 Article

Anisotropic 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 Article

How 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 Article


How 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 Article

VR: 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
Browsing latest articles
Browse All 14 View Live




Latest Images