Skip to main content

Posts

[Shader] Transparent single color shader

This shader can give the object a solid color. And the alpha value can be adjusted by adjusting transparency. In Unity4.0 test without any problems. . . Shader "Custom / TransparentSingleColorShader" {  Properties {  _Color ("Color", Color) = (1.0, 1.0, 1.0, 1.0)  }  SubShader {  Tags {"RenderType" = "Transparent" "Queue" = "Transparent"}  Blend SrcAlpha OneMinusSrcAlpha  cull Off  LOD 200 CGPROGRAM  # pragma Surface Surf Lambert fixed4 _Color; / / Note: pointless Texture coordinate. I Could not GET Unity (or Cg)  / / to accept an empty or omit the Inputs Input Structure.  struct Input {  float2 uv_MainTex;  }; void Surf (Input IN, inout SurfaceOutput O) {  o.Albedo = _Color.rgb;  o.Emission = _Color.rgb; / / * _Color.a;  o.Alpha = _Color.a;  }  ENDCG  }  FallBack "Diffuse"  }

Unity Judges Need More Time To Review Your Game Entries

image from unity fan-page unity judges need more time to announce the winners. they got huge response from developers and still reviewing it. they said on facebook page! Due to the overwhelming response we had, we'll need a little more time to find the winners   . Our judges are reviewing all the awesome entries in our Windows contest as fast they can. We found out the hard way that it's not a good idea to disturb!

Get the live training by Unity about Terrain Sculpting~ 15/10/2013

Behold! Upcoming online seminars are up on unity live training site! Join tomorrow to learn about Terrain Sculpting . And check out the archive of past sessions as well! Want to learn in a more informal setting with Unity experts you can query live? you’ve come to the right place. We will be holding Live seminar style sessions in which the tutor will take users through a particular project, topic, or number of topics. check all