eezstreet Posted January 24, 2014 Author Share 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. Link to comment
DT. Posted January 24, 2014 Share 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. Link to comment
eezstreet Posted January 24, 2014 Author Share 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. Link to comment
DT. Posted January 24, 2014 Share Posted January 24, 2014 Parallax bullet holes: Brick: When done properly, you get these sorts of results. Link to comment
Xycaleth Posted January 24, 2014 Share Posted January 24, 2014 @@DT85 Parallax mapping should already work on models... Link to comment
DT. Posted January 24, 2014 Share 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. Link to comment
Szico VII Posted January 26, 2014 Share Posted January 26, 2014 BULLET HOLES Sentra, DT., Shadzy and 2 others like this Link to comment
Xycaleth Posted January 29, 2014 Share 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. Omicron, DT. and minilogoguy18 like this Link to comment
Xycaleth Posted January 29, 2014 Share 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? Link to comment
DT. Posted January 29, 2014 Share 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 } } Link to comment
Xycaleth Posted January 29, 2014 Share Posted January 29, 2014 Something I forgot to ask: I'm assuming you have r_parallaxMapping set to 1? Link to comment
DT. Posted January 29, 2014 Share 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. Link to comment
Xycaleth Posted January 30, 2014 Share 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? Link to comment
DT. Posted January 30, 2014 Share Posted January 30, 2014 I've only tested with map MD3's & GLM player models, not any weapons. Link to comment
Xycaleth Posted January 30, 2014 Share 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 Link to comment
ensiform Posted January 31, 2014 Share Posted January 31, 2014 Pretty good chance that its not going to work on models. You'd have to ask SmileTheory though. Link to comment
Xycaleth Posted January 31, 2014 Share 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. Link to comment
eezstreet Posted January 31, 2014 Author Share Posted January 31, 2014 pics pls of viewmodels using this effect Link to comment
eezstreet Posted January 31, 2014 Author Share Posted January 31, 2014 anythingisn't much to show yet other than what's in this thread Link to comment
Szico VII Posted January 31, 2014 Share Posted January 31, 2014 Its still just crashing my OpenJK on startup when I run with rend2 Link to comment
eezstreet Posted January 31, 2014 Author Share Posted January 31, 2014 Its still just crashing my OpenJK on startup when I run with rend2 "still"First I've heard of it. Link to comment
Xycaleth Posted January 31, 2014 Share 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. Link to comment
Recommended Posts