Jump to content

rd-rend2 (old thread)


eezstreet

Recommended Posts

Posted
  On 1/24/2014 at 12:05 AM, DT85 said:

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
  On 1/24/2014 at 1:38 AM, DT85 said:

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
  On 1/24/2014 at 9:21 AM, DT85 said:

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.

Posted
  On 1/31/2014 at 5:36 PM, Szico VII said:

Its still just crashing my OpenJK on startup when I run with rend2 :P

"still"

First I've heard of it.

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