Bumpmaps with shaders,dll? [message #403724] |
Thu, 24 September 2009 04:16 |
|
Spyder
Messages: 1070 Registered: March 2006
Karma: 0
|
General (1 Star) |
|
|
Ok, so I'm back for a short while now. Few weeks ago I started messing around with 3DS Max again. I wanted to learn some more about texturing objects. Started looking on the internetz and found a rather interesting article on bumpmapping. Then I realized that Renegade doesn't have this feature, but games like UT3, Oblivion, Crysis etc. do support this. I also figured that Renegade would probably look a bit better if it would support bumpmapping.
I started looking for a shader file, like the normalmapping, but couldn't find anything related to bumpmaps.
So, my question (finally), does Renegade have any shader file which is able to create this effect. And, if not, is it possible to make one?
For the newbs, this is bumpmapping:
(Bottom is regular texture, top is bumpmapped texture)
|
|
|
|
|
Re: Bumpmaps with shaders,dll? [message #403832 is a reply to message #403724] |
Fri, 25 September 2009 08:26 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Lightmapping is definitely unrelated to bumpmapping. The support for it in scripts 3.4.4 and below is flaky at best (1 non-engine specified directional light). However, with scripts 4.0 there's a per-pixel lighting shader which uses all 4 engine lights which is probably what you are looking for.
|
|
|
Re: Bumpmaps with shaders,dll? [message #403834 is a reply to message #403832] |
Fri, 25 September 2009 09:04 |
|
Spyder
Messages: 1070 Registered: March 2006
Karma: 0
|
General (1 Star) |
|
|
Saberhawk wrote on Fri, 25 September 2009 17:26 | Lightmapping is definitely unrelated to bumpmapping. The support for it in scripts 3.4.4 and below is flaky at best (1 non-engine specified directional light). However, with scripts 4.0 there's a per-pixel lighting shader which uses all 4 engine lights which is probably what you are looking for.
|
Thanks for replying, I'm looking forward to it and I hope it's what I'm looking for. Else, this COULD BE a new feature for you to look at.
|
|
|
|
Re: Bumpmaps with shaders,dll? [message #403869 is a reply to message #403838] |
Fri, 25 September 2009 18:02 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
renalpha wrote on Fri, 25 September 2009 13:38 | the only difference are the edges, more shadow makes it look 3dimensional.
|
How very wrong. Lightmapping encodes the light color and intensity over an entire mesh as a whole, with fixed lights. Normal mapping (which is what is mentioned) encodes per-pixel normals into a texture and then the shader calculates the light amount/color/etc from the "dynamic" lights active at the time and as such allows lighting that depends on the camera position/orientation to occur. Specular highlights are one thing that certainly can't happen with lightmaps.
|
|
|
Re: Bumpmaps with shaders,dll? [message #403871 is a reply to message #403724] |
Fri, 25 September 2009 18:11 |
|
renalpha
Messages: 1000 Registered: January 2007 Location: Holland - Zuid-Holland - ...
Karma: 0
|
General (1 Star) |
|
|
Kinda more my point of view t.b.h thanks for the explanation though.
However, it still looks geah ugly, like someone throws away his/her lunchbox against the wall.
Aircraftkiller wrote on Fri, 18 February 2011 23:50 | I figured some people will still go LOLOLOL STARVING CATS LOOOOLZ UR A FAG or some dumb shit like that. Thanks for not disappointing!
|
|
|
|