Jump to content

Shadow/shader issue


Infinity238
 Share

Recommended Posts

Hi, I've been working on my mod alot but lately I've switched from useing the shader: meshgloss.fxo over to meshbumpcolorize.fxo. But for some reason It dosn't look right, the shadows only seem to shade the faces completely black or not at all. I am useing a proper bump map and all that but not much seems to make a difference, any and all help would be apretiated.

http://img150.imageshack.us/img150/7293/laurasiadj6.jpg

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

lolz monkeybiz, thats cause its from an anime :P.

 

I don't see the problem on anywhere but the turrets, but that may be just cause the base color is too dark.

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

http://img97.imageshack.us/img97/3303/laurasiajh6.jpg

its just a couple of things I was hopeing some of the other modders could drop by and give me some help.

 

A+C. The shadow only shades the dark faces (squareish) when the obiect is a sphere, not to mention spheres or rounded faces in EAW dont seem to have this problem. There also apears to be a lack of shade variation light - dark, It just goes from full illumination to complete shadow.

 

B.There are no "cast" shadows, again EAW units dont seem to suffer from this.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

does it do that ingame too, or only in the viewer?

http://i55.photobucket.com/albums/g154/codeuser/sigcopy.jpg

http://i12.photobucket.com/albums/a245/loverdog/pffuserbar2.jpg

[3:52:33 PM] Arbiter says: Paracetamoxyfrusebendroneomycin would cure all of his diseases....

[3:52:47 PM] Arbiter says: Except with the side effect of probable death.

Link to comment
Share on other sites

Do you have a shadow mesh?

HOw big is it in relation to the unit?

How is your specular map set up?

I think I tried the shadow mesh already, but what do you mean how big is it to the mesh? Does that make a differnce?

 

As for spec maps, what shader/ material do you use. I thought it was the: shipname_bc.dds alpha that the game uses as a spec map. I was also useing bumpcolorize.fxo.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

yeah the specular is in the alpha layer .. its a spec map nonetheless

Also the size of the shadow mesh only applies in certain situations..

An example would be like a cube.. with another cube as its shadow mesh..

If both are the exact same size and everything you will get a perfect shadow..

Now if you have the shadow mesh being bigger than the actuall model you might expect almost all the model to be shadowed , and it would look bad -.-

So if your shadow mesh isnt exactly the same size.. i would advise you to shrink it down a bit.. unless you have a reason for keeping it the way it is.. or increasing its size

 

But a shadow mesh that is too small can look bad too -.-

 

But yeah shadow mesh is what gives units their shadows on the ground and ect ect.. so you might want to check yours out or give us apic of how its set up so we can help you better

http://www.swgbex.com/sig.jpg

Hehe IA 2 venator :P

Link to comment
Share on other sites

http://img164.imageshack.us/img164/7687/help1qv7.jpg

Of course they are on top of each other normally but they are both the exact same size.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

BUMP.

 

Heres what it looks like in game with the shadow mesh, any help or ideas would be great.

http://img270.imageshack.us/img270/7946/laurasia2zk7.jpg

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

Please, there has to be some one out there who knows whats going on here? This nagging issue is basically holding up the Mods beta test, because I dont want to put any more units in untill I get this problem licked.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

Just taking a stab at this since nobody more qualified is:

 

From your screenshot it looks like some of your polys are not all part of the same smoothing groups. The polys getting shaded all over the place instead of just shade may mean that your shadow mesh, while being the same SIZE as the model, is not EXACTLY the same as the model. Some polys are not in the right groups ect.

 

Just my guess from looking at the pic and my limited knowledge of using 3DSMax.

Link to comment
Share on other sites

Inside... I'll give that a try tomorrow, thanks for the pointers.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

Nuts no change. Inside didn't change it at all, I'm beginning to wonder if its the shaders. The FXO are the only ones that work in 3dsmax8 but from a couple of models I made earlier using the fx shaders that came with the patch. The fx shaders look proper, I cant use them now because 3dsmax crashes when I try.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

I'm pritty sure it was closed, and just to be sure I capped all the holes.

http://img57.imageshack.us/img57/7241/animeuserbar0qt1ud.png

http://www.userbars.com/galerie/images/files/3/16/metallica18nc.gif

http://www.userbars.com/galerie/images/files/3/6/cocacolafan.jpg

http://img150.imageshack.us/img150/823/sig9tz9.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...