Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 5,796 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bumpmapping Shader[with grayscale Numpmaps not Normalmaps] #287811
09/02/09 15:48
09/02/09 15:48
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline OP
Senior Expert
Quad  Offline OP
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Hi all,

Does anyone has a bumpmapping shader that uses grayscale bumpmaps?

i have some set of textures that i bought long time ago, but all bump maps are grayscale like this:



is there a shader that can use this bumpmaps, or do i have to convert them to normal maps(if thats even possible to create proper normal maps).


3333333333
Re: Bumpmapping Shader[with grayscale Numpmaps not Normalmaps] [Re: Quad] #287851
09/02/09 20:20
09/02/09 20:20
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
I am not completely sure, but if I think it all together in right way, I would say that those bump maps are nothing else but heightmaps. Programs like xNormal should allow to convert it to a normalmap while keeping most of the quality, but I think that even the gamestudio function bmap_to_normals or what ever it is called and those plugins for gimp and photoshop are converting it the right way and should thus result in a good normalmap when generating from a heightmap.
But you should think about some kind of a specularity map. In my opinion a greyscale version of the texture works quite well in most cases if you darken it and raise the contrast.
I don´t think that there is an effective way to use those bump maps in a modern shader, but I think that those dot3 bump mapping fixed function effects were meant to use such bump maps.

This is a in my opinion great article about different methods of bump mapping from 1999 when bump mapping was high tech: http://www.3dconcept.ch/artikel/bump/index.html The "problem" is that it is german...
As I am already at it... This is a great glossary of 3d graphics: http://www.ericchadwick.com/portfolio/glossary/glossary.html It is old but in my opinion great to understand and it seems to be very correct. This link is in english btw...

Re: Bumpmapping Shader[with grayscale Numpmaps not Normalmaps] [Re: Slin] #287854
09/02/09 20:38
09/02/09 20:38
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline OP
Senior Expert
Quad  Offline OP
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Thanks for the help Nils, much apprecieted. I needed specmaps too... ill convert them to normalmaps and generate specmaps by changing contrast/doin some color operations.


3333333333
Re: Bumpmapping Shader[with grayscale Numpmaps not Normalmaps] [Re: Quad] #288304
09/05/09 09:07
09/05/09 09:07
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
for this texture i'd suggest you to use some film grain like spec texture.

Re: Bumpmapping Shader[with grayscale Numpmaps not Normalmaps] [Re: Joey] #291785
09/27/09 21:25
09/27/09 21:25
Joined: Aug 2008
Posts: 133
Sweden, Stockholm
E
Enduriel Offline
Member
Enduriel  Offline
Member
E

Joined: Aug 2008
Posts: 133
Sweden, Stockholm
this type of grayscale bumpmapping is called dot3 mapping afai remember from old engines such as cnc Renegade.


Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1