I know individuals working on a mod right now that is almost competed. However one of the main issues they are facing now is Coding EnemyModels and PM Skins into this mod under Vertex Lighting. It is already completed under Lightmap lighting.
I am not a coder nor do I know why they are facing problems with the coding of models under Vertex lighting, compared to having success with coding the models under Lightmap. If your a coder and experienced with these issues any assistance/direction with this problem would be greatly appreciated!
Coding EnemyModels under Vertex Lighting
-
- Posts: 248
- Joined: Tue Jun 08, 2004 7:00 am
Thanx servo.
Anyways, i'm the coder for the mod. The problem i have is with bright skins under VertexLight (Lightmap is fine). The problem is that i cant seem to set right skins to a model. Model itself is registered fine, but the skins do not show up. So the end result in the game is just the white model. The problem seems to be with the trap_R_RegisterSkin function which does not register the skin. Just as it says in the comments, it returns all white. That's it. I've tried quiet a few different fixes, but nothing seems to be working. Any help will be appreciated.
Anyways, i'm the coder for the mod. The problem i have is with bright skins under VertexLight (Lightmap is fine). The problem is that i cant seem to set right skins to a model. Model itself is registered fine, but the skins do not show up. So the end result in the game is just the white model. The problem seems to be with the trap_R_RegisterSkin function which does not register the skin. Just as it says in the comments, it returns all white. That's it. I've tried quiet a few different fixes, but nothing seems to be working. Any help will be appreciated.
Here is the shader and the sample skin files
players.shader:
http://www.jbpowfiles.com/pub/models/players.shader
skin:
http://www.jbpowfiles.com/pub/models/head_pm.skin
http://www.jbpowfiles.com/pub/models/lower_pm.skin
http://www.jbpowfiles.com/pub/models/upper_pm.skin
Given the fact that everything works under the lightmap, i really doubt that there is a problem with any of the skins or shaderr (unless i'm missing something obvious).
Thanx
players.shader:
http://www.jbpowfiles.com/pub/models/players.shader
skin:
http://www.jbpowfiles.com/pub/models/head_pm.skin
http://www.jbpowfiles.com/pub/models/lower_pm.skin
http://www.jbpowfiles.com/pub/models/upper_pm.skin
Given the fact that everything works under the lightmap, i really doubt that there is a problem with any of the skins or shaderr (unless i'm missing something obvious).
Thanx