Page 1 of 1

Earth, Materials Specular and Bumpmapping

PostPosted: Friday, 08.June 2012, 17:08
by ikam
HI

I was playing with materials and the different mod texture and mapping, and I fail to do what I want.

It's the earth, I want to add a normalmap to sea and earth (same or different), but apply a specular only on the sea.

if someone knows how to or succeeded :lol:

Here the project, it's a good training for texture mapping.

Re: Materials Specular and Normalmap

PostPosted: Friday, 08.June 2012, 22:55
by ikam
Ok I found how to do \:D/

Trick is to add texture over phongs and a new menu appear (it's magic) you can now play with Transparancy and rgba transparancy channel

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Saturday, 09.June 2012, 12:26
by reEto
hä?

what should this be... 2 times phong as shader? texsur on phong ? ???? you just use the mod shaders one time... never seen ONE mat with 2 shadertypes (phong+phong) the displace tex is not ness. single Flat surr. tex is senceless.. suround flat tex?? dont need aux for this.. at all less is more.
if you add tex on phong the "phong by tex" menu apPpears.
you need ONE shadertype 2 DIF and ONE norm map and maybe ONE modtex type (additional) to create this :) do not think to complex using the mat op. more eyes on the texture itself :) the AUX most makes sence with terrain stuff like the rove stuff, or our frozen.

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Saturday, 09.June 2012, 20:15
by Skinnytorus
hi, guys.
here is my attempt at earth. the file uses the same base textures as in the .zip file above.
to see the result just change the paths in the import ops to yours.

p.s. by the way, is there any way to make wz4 use relative paths? :roll:

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Saturday, 09.June 2012, 22:37
by ikam
reEto : Ok I will try an easier way as you said...

Skinnytorus : you can setup a project path in document option (edit menu), all files you will import will be relative to. And thanks for your adds, nice.

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Sunday, 10.June 2012, 12:45
by Skinnytorus
Thanks, but it's not exactly what I meant.
Say, I have downloaded a zip file with .wz4 file and textures.
Can I make wz4 load textures using location of wz4 file as a base without changing project path in Document Options and/or in Import ops?
It would be much easier to handle downloaded projects this way...

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Monday, 11.June 2012, 19:18
by ikam
yop

Ok here I remove the second phong and it's works like I wanted. But I don't see how to assign differents normalmap to sea and ground without "Aux" op...

(I replace earth textures with a perlin to avoid imports reload).

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Tuesday, 12.June 2012, 06:58
by Skinnytorus
In fact you can pre-mix the Normals, but you'll lose in quality.
Take a look at the example.

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Tuesday, 12.June 2012, 07:19
by Skinnytorus
I fiddled with ops a bit more and... tada!!!
Different normal maps with no Aux and no loss in quality!

Re: Earth, Materials Specular and Bumpmapping

PostPosted: Tuesday, 12.June 2012, 08:02
by ikam
Nice, well done.
Thanks