Jump to content

rd-rend2 (old thread)


eezstreet

Recommended Posts

Posted

Is it possible to add parallax mapping to models in the end, and not just levels?

You probably could, but it'd cause deform and clipping issues for sure.

Posted

I was meaning more for weapon models. It would enhance the overall quality and will still be able to keep the model within the vertex/triangle limits.

Posted

I was meaning more for weapon models. It would enhance the overall quality and will still be able to keep the model within the vertex/triangle limits.

Oh. Yeah, that would be nice. I still haven't found an application of parallax mapping which looks decent though. The idea behind it makes sense and it sounds useful though.

Posted

I've tried it in OpenJK & ioquake3 and it doesn't, unless there is a different stage name than what you would use for level textures.

Posted

I've tried it in OpenJK & ioquake3 and it doesn't, unless there is a different stage name than what you would use for level textures.

Can you post the shader you've been using please?

Posted

models/players/maul_test_d

{           
map models/players/maul_test_d           
rgbGen lightingdiffuseEntity  

{           
stage normalparallaxmap           
map models/players/maul_test_pn  

{           
stage specularmap           
map models/players/maul_test_s           
specularReflectance 0.50           
specularExponent 16   
}
}
Posted

Yep, parallax mapping works on map textures just not for models. Also specular isn't working on map textures or models and normal mapping isn't working on MD3.

Posted

I should be able to take a look at this tonight :) Hopefully should be fixed before I go to bed :P

 

EDIT: Also @@DT85, are these models the first person weapon model, or something else?

Posted

It should work fine. I found a bit of code that disables parallax mapping on models. SmileTheory said it didn't look right on models at the time he implemented it :P I'll try enabling it again and see how it looks.

Guest
This topic is now closed to further replies.
×
×
  • Create New...