DGL
https://delphigl.com/forum/

emboss bumpmapping and alpha testing
https://delphigl.com/forum/viewtopic.php?f=19&t=3120
Seite 1 von 1

Autor:  noeska [ Mi Aug 04, 2004 14:09 ]
Betreff des Beitrags:  emboss bumpmapping and alpha testing

For gl3ds i am trying to get emboss bumpmapping and alpha testing to work together, but to no avail.

Getting the alpha testing to work is no problem, also the emboss bumpmapping is working ok. But i cannot have the effect together in the same material.

The problem seems to be that i can only load in 1 alpha channel at a time. Maybe i should do a mulitpass render? I personaly like to avoid that.

I got the idea of combining the alpha (opac) map with the bump map by adding them together? What is the best way to so?

Also i know that the way i do emboss bumpmapping the alpha channel gets distorted and most possibly becomes useless.

I need some fresh ideas on this.

Autor:  Sascha Willems [ Mi Aug 04, 2004 14:18 ]
Betreff des Beitrags: 

Since Emboss-Bumpmapping is looking very cheesy compared to other Bump-Mapping-Methods (and isn't used anymore), I suggest you to just drop it in favor of something better like DOT-3 Bumpmapping, or even better, bump via shaders. The only thing you then have to add to gl3ds is the calculation of the tangents needed for those bump-mapping-techniques, which isn't that hard (I did that, as you can see here. I'm loading the scene via your gl3ds.pas and then copy it into my own structures).

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/