Maybe 2012 is the year of the apocalypse.
Mobile Diffuse Detail + Ambient shader for Unity3D
So, I noticed that Unity3D does not add the ambient color for the detail map shader on mobile. So I added it in—yeah it’s only one line of code. But I figure if you’re not shader proficient you might not want to fumble around adding the line. So I’ll post the code here.
—-
Shader “Mobile/Ambient Diffuse Detail” {
Properties {
_Color (“Main Color”, Color) = (1,1,1,1)
_MainTex (“Base (RGB)”, 2D) = “white” {}
_Detail (“Detail (RGB)”, 2D) = “gray” {}
}
SubShader {
Pass{
Material{
Diffuse [_Color]
Ambient [_Color]
}
Lighting On
Fog { Mode Off }
SetTexture [_MainTex] { combine texture * primary Double, texture * primary}
SetTexture [_Detail] { combine previous * texture Double, previous}
}
}
FallBack “VertexLit”, 2
}
Finishing a Game
As I work towards completing my own game, I’ve been thinking a lot about finishing projects in general. I’ve noticed that there are a lot of really talented developers out there that have trouble finishing games. Truthfully, I’ve left a long trail of unfinished games in my wake… I think everyone has. Not every project is going to pan out, for whatever reason. But if you find yourself consistently backing out of game projects that have a lot of potential, it could be worth taking a step back and examining why this happens.
CLUE 1:
“went to short dogs house,
they was watching Yo MTV
RAPS”
Yo MTV RAPS first aired:
Aug 6th 1988
CLUE 2:
Ice Cubes single “today was a good day” released on:
Feb 23 1993
CLUE 3:
”The Lakers beat the Super
Sonics”
Dates between Yo MTV Raps air date AUGUST 6 1988 and the release…
Recently, its felt more and more part of my morning routine to sit down with my tea, my in-print WSJ daily (thank goodness), and my tablet to discover an eBlast, eInvite or thrice forwarded email from an acquaintance whose son, daughter or former intern has a launch product in need of vetting….
I totally forgot I had an account. Oops.


