Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, juanex, Grant), 1,018 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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,209
İstanbul, Turkey
Quad Online OP
Senior Expert
Quad  Online OP
Senior Expert

Joined: Oct 2007
Posts: 5,209
İ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,209
İstanbul, Turkey
Quad Online OP
Senior Expert
Quad  Online OP
Senior Expert

Joined: Oct 2007
Posts: 5,209
İ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 | chip programmers | 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