eezstreet Posted January 24, 2014 Author Posted January 24, 2014 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.
Tempust85 Posted January 24, 2014 Posted January 24, 2014 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.
eezstreet Posted January 24, 2014 Author Posted January 24, 2014 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.
Tempust85 Posted January 24, 2014 Posted January 24, 2014 Parallax bullet holes: Brick: When done properly, you get these sorts of results.
Xycaleth Posted January 24, 2014 Posted January 24, 2014 @@DT85 Parallax mapping should already work on models...
Tempust85 Posted January 24, 2014 Posted January 24, 2014 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.
Szico VII Posted January 26, 2014 Posted January 26, 2014 BULLET HOLES Tempust85, Omicron, Shadzy and 2 others like this
Xycaleth Posted January 29, 2014 Posted January 29, 2014 I've been trying to find some time to work on it but I've been pretty busy with life in general recently. I'm still chipping away at the things that need doing so there's always some progress, even if it's slow at times. minilogoguy18, Omicron and Tempust85 like this
Xycaleth Posted January 29, 2014 Posted January 29, 2014 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?
Tempust85 Posted January 29, 2014 Posted January 29, 2014 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 } }
Xycaleth Posted January 29, 2014 Posted January 29, 2014 Something I forgot to ask: I'm assuming you have r_parallaxMapping set to 1?
Tempust85 Posted January 29, 2014 Posted January 29, 2014 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.
Xycaleth Posted January 30, 2014 Posted January 30, 2014 I should be able to take a look at this tonight Hopefully should be fixed before I go to bed EDIT: Also @@DT85, are these models the first person weapon model, or something else?
Tempust85 Posted January 30, 2014 Posted January 30, 2014 I've only tested with map MD3's & GLM player models, not any weapons.
Xycaleth Posted January 30, 2014 Posted January 30, 2014 Okay...so I realised I don't know how to make a parallax map for testing @@DT85 can you provide me with a parallax map please? :3
ensiform Posted January 31, 2014 Posted January 31, 2014 Pretty good chance that its not going to work on models. You'd have to ask SmileTheory though.
Xycaleth Posted January 31, 2014 Posted January 31, 2014 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 I'll try enabling it again and see how it looks.
eezstreet Posted January 31, 2014 Author Posted January 31, 2014 pics pls of viewmodels using this effect
eezstreet Posted January 31, 2014 Author Posted January 31, 2014 anythingisn't much to show yet other than what's in this thread
Szico VII Posted January 31, 2014 Posted January 31, 2014 Its still just crashing my OpenJK on startup when I run with rend2
eezstreet Posted January 31, 2014 Author Posted January 31, 2014 Its still just crashing my OpenJK on startup when I run with rend2 "still"First I've heard of it.
Xycaleth Posted January 31, 2014 Posted January 31, 2014 I've been PMing him for a few days trying to get it to work Seems to be an access violation.
Recommended Posts