fourwood Posted July 12, 2002 Share Posted July 12, 2002 I have a misc_model in a room, but in game the model is completely black, although it is fully engulfed in a spotlight. Is there a way to independently add light to a misc_model? Or does anyone have tips for lighting a model? Link to comment Share on other sites More sharing options...
Emon Posted July 12, 2002 Share Posted July 12, 2002 Hmm, that's quite odd. Try adding the light key and value of like, 500 or something (just to see if it works, then tone it down) to the entity. I believe Darth J used that for his lava. Link to comment Share on other sites More sharing options...
fourwood Posted July 12, 2002 Author Share Posted July 12, 2002 Hm.... nope. Maybe if I just add more lights to the room.... /me goes to find out. Screens of the problems: Link to comment Share on other sites More sharing options...
Emon Posted July 12, 2002 Share Posted July 12, 2002 Check if it does that for all models. Link to comment Share on other sites More sharing options...
fourwood Posted July 12, 2002 Author Share Posted July 12, 2002 ....no. Sure.... just the models I use..... *cry* Link to comment Share on other sites More sharing options...
Emon Posted July 12, 2002 Share Posted July 12, 2002 Haha, that sucks. What model are you using? Link to comment Share on other sites More sharing options...
fourwood Posted July 12, 2002 Author Share Posted July 12, 2002 kejim/generator and generator_big, or something like that. Only 2 I've tested that won't light properly/at all. [edit]Scratch that, kejim/cutter does light some, but only about half of it is lit. So... only common thing so far is that they all have animated textures... Link to comment Share on other sites More sharing options...
fourwood Posted July 12, 2002 Author Share Posted July 12, 2002 I've decided it is the animated textures that are the problem. When I test any model that has animated textures, the animated surfaces are black. Anyone used animated surfaces on a model in an MP map? Link to comment Share on other sites More sharing options...
Emon Posted July 12, 2002 Share Posted July 12, 2002 I haven't, but I know that the Raven's Claw model had trouble in MP because of it's shaders or something. Link to comment Share on other sites More sharing options...
RichDiesal Posted July 12, 2002 Share Posted July 12, 2002 You need to export the model to Lightwave and then back again, or something like that. It's much more complex, but I've never actually done it, so you'll hafta ask volrathxp. Link to comment Share on other sites More sharing options...
volrathxp Posted July 13, 2002 Share Posted July 13, 2002 Originally posted by RichDiesal You need to export the model to Lightwave and then back again, or something like that. It's much more complex, but I've never actually done it, so you'll hafta ask volrathxp. where the hell did you get Lightwave from? Gmax and Milkshape all the way baby! Ugh... i need to find that old post when i released that Raven's Claw now... there was something that someone suggested with changing a blending mode on the shader. *heads to find it now* Link to comment Share on other sites More sharing options...
volrathxp Posted July 13, 2002 Share Posted July 13, 2002 Copy this guy here in your models.shader file models/map_objects/kejim/gen_body { q3map_nolightmap q3map_onlyvertexlighting { map models/map_objects/kejim/gen_body blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/map_objects/kejim/gen_bodyglow blendFunc GL_ONE GL_ONE rgbGen wave sin 1 0.1 0 25 } } create a new shader file, paste that and change this line: rgbGen lightingDiffuse to: rgbGen vertex and then add your shader name be it generator.shader to the shaderlist.txt as 'generator' in the list. compile your map and let us know. you will however, have to include this shader with your map when you release.. else it will look black to anyone who plays it. try that and let me know. if not, there's an issue in the model itself like the Raven's Claw that may need corrected. Have a great day! Link to comment Share on other sites More sharing options...
fourwood Posted July 13, 2002 Author Share Posted July 13, 2002 Originally posted by volrathxp Helpful things. You, sir, are my hero. Link to comment Share on other sites More sharing options...
volrathxp Posted July 13, 2002 Share Posted July 13, 2002 gee thanks... so i take it that it worked? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.