Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
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.
Registriert: Mo Sep 23, 2002 19:27 Beiträge: 5812
Programmiersprache: C++
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).
Mitglieder in diesem Forum: 0 Mitglieder und 5 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.