Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, degenerate_762), 1,213 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Question about specBump.fx #329936
06/24/10 07:16
06/24/10 07:16
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
I am using the specBump.fx shader that was in the code directory of gamestudio. The manual states that it can be used with a light map. I want to know if I am doing this correctly because I seem to be having a problem with the light map. The manual states:
Quote:

*LM: Supports a lightmap either on the second skin of a block or model, or through the entities' lightmap pointer. A lightmap is a RGB texture that determines local light and shadow modulation of the surface, and uses normally a different resolution and UV coordinate set than the texture. If the object has no lightmap, a 100% white light modulation is assumed. Shaders that support lightmaps can be assigned to models as well as to level geometry.


I have set the model's first skin to the regular color map. For the second skin, I activated the second UV coordinate set, imported the skin mapping from the first coordinate set, and set the model's skin to the light map; I then deactivated the second coordinate set. I set the third skin as the normal map.

The shader seems to work correctly, except the light map doesn't seem to be working at all. Am I understanding this correctly?

Last edited by draculaFactory; 06/24/10 07:16.

Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: Question about specBump.fx [Re: draculaFactory] #329939
06/24/10 07:27
06/24/10 07:27
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Why are you deactivating the second coordinate set? That makes no sense.

Re: Question about specBump.fx [Re: Pappenheimer] #329996
06/24/10 15:58
06/24/10 15:58
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
I was just using med's terms, I actually got this working. It depends on the emissive setting grin


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

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