Simple, fast, "shiny metal" shader?

Posted By: Spector

Simple, fast, "shiny metal" shader? - 05/17/07 05:45

Hello.

Iam very new to 3DGS, however Iam learning quickly. Not too great code-wise, but generally.

Anyways, Im great at modeling, and Im making this awsome guy in an armored suit, but he looks rather plain right now - not very metal like.
Ive been looking into shaders, and I get thier basic function: change the look of somthing in realtime.

Im looking for the the most simple, fast, yet great looking shader that will create some nice "shiny metal" for my armor, and 1. wont eat CPU, and 2. looks great and easy to use.

Ive looked/searched for this kinda thing, but Im so new I wouldnt have known if I found it. ...found a nice fur shader, though. Will DEFINANTLY use that.

Thnx.

P.S. A nice first person shooter tutorial would be nice, too.
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/17/07 06:56

well the fur shader is slooooo, as far as a metal shader you could use a normal mapping shader, there is one on the wiki
Posted By: Spector

Re: Simple, fast, "shiny metal" shader? - 05/17/07 07:06

OH! I forgot to say, but I want one that doesnt need a pixel shader for the graphics card..seeing as how mine doesnt have one. Just to let you know.
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/17/07 07:09

oh, well a shader does need one, thats what a pixel shader is, there is nothing you can really do about that.
Posted By: Spector

Re: Simple, fast, "shiny metal" shader? - 05/17/07 07:36

Er...well..Ive seen pretty nice looking effects like the chrome shine in games like Need For Speed, and they run PERFECT on my comp. Thats really all I want: a "shine" to go over my metal texture, not really to make it look all realistic like this:

But like this:

See how its reflects a nice white shine? What I want doesnt even have to react to the in-game lighting (except maybe dissapear in the dark), but just give metal depth. You know?

I know of the "metallic" flag you can turn on for an object, but that looks rather blan.

Anything?
Posted By: erbismi

Re: Simple, fast, "shiny metal" shader? - 05/17/07 07:40

The NFS game in the screenshot looks like it must be using somesort of shader, either environment mapping or render to texture.
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/17/07 07:42

yeah, if cars in need for speed look like that one your pc, then your computer supports shaders, what videocard does your computer have
Posted By: Spector

Re: Simple, fast, "shiny metal" shader? - 05/17/07 07:43

It has the GeForce 4 MX 440. However I always read online, and when I try to run high-end games that it doesnt have one.
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/17/07 08:00

hmmmmm I know mx series doesnt..... on the front of the car bumper, is that a reflection or is that part of the actual texture, because if that is part of the the texture than they are probably just using something similar to a normal material. shaders wont work on you videocard at all, the fur shader wont either.
Posted By: Spector

Re: Simple, fast, "shiny metal" shader? - 05/17/07 08:04

The white part in between the top and bottom opening on the bumber is I believe part of the texture..OR it could be the shine. But the best example of it is on the hood.

Whats really odd, is I was able to play the Prey demo....BEARLLY, but it worked!
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/17/07 08:31

yeah, i know i used to have a non shader card that could play far cry, but every thing was just rendered all messed up like the terrain was ice blue, if you want to know how to do this just look up materials, and and look for settings like specular power and ambient, tweak them, and you should be able to get the effect you want, but it isnt a shader that that is using
Posted By: fogman

Re: Simple, fast, "shiny metal" shader? - 05/17/07 10:37

I think itīs just environment mapping. You can do that with FFP.
http://www.coniserver.net/wiki/index.php/Cubic_Enviroment_Shading_Shader
Posted By: PrenceOfDarkness

Re: Simple, fast, "shiny metal" shader? - 05/17/07 13:17

Is't there a flag metal=on that should do that?

Speaking of which I never got that to work anyone know how to use it?
Posted By: Matt_Aufderheide

Re: Simple, fast, "shiny metal" shader? - 05/17/07 14:51

Yes you can do cubic environment mapping in the fixed function...

That metal flag is an old flag, no longer used I think..
Posted By: Spector

Re: Simple, fast, "shiny metal" shader? - 05/17/07 18:25

Well, Im able to use the metalic flag, but like I said, its blan. Really all it does, from what Ive seen, is make it look like its trying to look like metal, but not shiny in anyway. Kinda hard to describe..

But what you guys mention is very helpful. I will try the code in the link as soon as I have the time today, and see if I cant get it to work.

Thnx.
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/17/07 21:21

well i dont think that card can even use ffp, i think the "environment map" is actually part of the texture.
Posted By: mk_1

Re: Simple, fast, "shiny metal" shader? - 05/17/07 23:59

even gf2 mx400 supported environment mapping
Posted By: lostclimate

Re: Simple, fast, "shiny metal" shader? - 05/18/07 00:00

oh, well maybe then. hmmm
Posted By: erbismi

Re: Simple, fast, "shiny metal" shader? - 05/18/07 11:16

I have a pc with a Geforce2MX and NFS underground works fine on almost full settings, shaders and all.
Posted By: Machinery_Frank

Re: Simple, fast, "shiny metal" shader? - 05/18/07 13:26

Geforce2MX cannot run HLSL or ASM shaders. But it can run fixed function effects. And you can create multi-texturing (several textures at terrain), dot3-bump-mapping and cubic environment mapping with FFP.
© 2024 lite-C Forums