Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Bumpmaps with shaders,dll?
Bumpmaps with shaders,dll? [message #403724] Thu, 24 September 2009 04:16 Go to next message
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 #403745 is a reply to message #403724] Thu, 24 September 2009 09:37 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
light mapping i couldn't find it on renegade help or the render to texture tut oblivion made.

http://www.moddb.com/members/maul3r/tutorials/lightmap-tutorial


http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Bumpmaps with shaders,dll? [message #403778 is a reply to message #403745] Thu, 24 September 2009 14:56 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
Is that the only way to do it?
Re: Bumpmaps with shaders,dll? [message #403832 is a reply to message #403724] Fri, 25 September 2009 08:26 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 #403838 is a reply to message #403724] Fri, 25 September 2009 10:38 Go to previous messageGo to next message
renalpha is currently offline  renalpha
Messages: 1000
Registered: January 2007
Location: Holland - Zuid-Holland - ...
Karma: 0
General (1 Star)
the only difference are the edges, more shadow makes it look 3dimensional.


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! Smile

Re: Bumpmaps with shaders,dll? [message #403869 is a reply to message #403838] Fri, 25 September 2009 18:02 Go to previous messageGo to next message
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 Go to previous message
renalpha is currently offline  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! Smile

Previous Topic: Jump platforms?
Next Topic: Light Map Help
Goto Forum:
  


Current Time: Wed Dec 18 22:02:15 MST 2024

Total time taken to generate the page: 0.00701 seconds