View Single Post
# 1 26-03-2007 , 12:07 AM
Registered User
Join Date: Feb 2006
Posts: 17

Shading based upon light direction?

Heya.

In a nutshell, I need to be able to produce city lights on a dark side of a planet, simular to this:
https://planetpixelemporium.com/tutor...arthlight.html
However there are a number of other shaders I want to make based upon this.

I understand that a ramp shader in Maya can alter color depending on the location of a light, however I'd like to alter the transparency in this way, but I cant seem to find any way to do this.

Is it at all possible to create a shader in this way, or even base transparency upon a shaders specular?