A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
My Script is a bit different: I compute the ball coordinates with respect to the WALL coordinate system, you compute it wrt the camera coordinate...
And how does Unity compute what values to put into this scale and offset variable? Is this only needed for usage of texRECT, where texture...
Ah, wait: if the ball position is in the local coordinate system of the wall, then I can simply pass the coordinates to the fragment shader...
Sorry, I didn't get the point... Currently I transform the global ball coordinates into the local coordinate system of the wall in a script....
Thank you Daniel for your suggestions. The reason why I wanted to compute the distance in the fragment shader was that the wall is quite big...
Hi all, I'd like to code an effect, where a transparent wall glows locally where a ball hits it (it's my first shader). I thought it might...
Ok, got it. See http://unity3d.com/support/documentation/Components/class-Camera.html ("Normalized Viewport Rectangle"). It even works with...
Could you please explain the steps to do so in more detail (I'm a newbie :))? Especially: 1) how to set the resolution fix to 2560x1024 (how to...
Hi, I'd like to know the best way to render two different contents to two screens in Unity. Actually I'd like to to have one screen showing a 2D...