Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Do anyone know how to create planet Earth shader with city lights in a "night" side? (https://simplymaya.com/forum/showthread.php?t=9508)

victstep 22-12-2003 06:56 PM

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.

fredriksson 22-12-2003 10:11 PM

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.

victstep 23-12-2003 01:37 PM

1 Attachment(s)
Thank you!

It's work great!

rich 23-12-2003 01:43 PM

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....

victstep 23-12-2003 01:43 PM

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 03:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018