Do anyone know how to create planet Earth shader with city lights in a "night" side?
Hi!
I am ex-3dsmax user, and I am trying to create in Maya photorealistic planet Earth shader, with city lights in a "night" side of the planet. I'am mean 2 textures shader: one texture visible only in a "day" side of the shader and second texture visible ONLY (!!!) in a "nigh" side of the shader. Just in 3dmax it's very simple: self-illumination->falloff->shadow/light; but in Maya... couple of weeks I can't find the answer to my question, and this is not a first Maya forum where I am asking to help. Please if someone know a tutorial about it tell me, or gave me the right direction for my research. P.S. Please, do not answer like "just use incandescence" (it's dosen't work); or "just use surfaceLuminance"; please explain HOW to use. Thank you. |
1 Attachment(s)
Alright, this took me 1 min to set up, if you get the hang of the node based structure it isn't too hard.
Check out the image I prepared. The ramp is just a ramp with white-black range (you need to tweak it to your preference). The grid is where you put your file node (I didn't have a good one handy). You then multiply the ramps out-value with the files and you input that into the incandescence. Hope it helps. (the stucco is just for some color) edit. You should perhaps clamp the surfaceLuminance, I don't know what valuerange it has, but it seems to work fine without. |
1 Attachment(s)
Thank you!
It's work great! |
1 Attachment(s)
I have a good Earth Shader that you can download from Simply Maya (see the link in my signature)
I didn't include the night map in the released ZIP file; but if you want to play with it, here it is.... |
Btw if you need a 2500x1250 Earth textures (free) you may visit: http://www.oera.net/How2/TextureMaps.htm
Thanks again. |
All times are GMT. The time now is 06:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018