Seven Posted June 24, 2016 Share Posted June 24, 2016 Can geometric shaders (or "normals") be used in game in JKA? Link to comment
Asgarath83 Posted June 25, 2016 Share Posted June 25, 2016 Sure!Check this tutorial: https://jkhub.org/tutorials/article/121-creating-fake-bump-mapping-in-jka/ Link to comment
AshuraDX Posted June 25, 2016 Share Posted June 25, 2016 Not for models, atleast outside of rend2 Link to comment
Langerd Posted June 25, 2016 Share Posted June 25, 2016 It is good method but to be honest.. it rly take a lot of space on your map.. Link to comment
Xycaleth Posted June 25, 2016 Share Posted June 25, 2016 Bumpmapping on maps doesn't take up any space. Link to comment
Langerd Posted June 25, 2016 Share Posted June 25, 2016 Bumpmapping on maps doesn't take up any space.It doesnt ? It took more time on one map to work for me D: Link to comment
Xycaleth Posted June 25, 2016 Share Posted June 25, 2016 More time doesn't mean more space It would take more time because it needs to read from the normal map texture, but the size of your BSP would be the same as if you didn't use bumpmapping. Langerd likes this Link to comment
Langerd Posted June 25, 2016 Share Posted June 25, 2016 More time doesn't mean more space It would take more time because it needs to read from the normal map texture, but the size of your BSP would be the same as if you didn't use bumpmapping.Good to know that :3 Now i will check this method on my map as well ^^ Link to comment
Seven Posted June 25, 2016 Author Share Posted June 25, 2016 Not for models, atleast outside of rend2Is there a working rend2 release yet? Link to comment
Xycaleth Posted June 25, 2016 Share Posted June 25, 2016 Working or release-ready? There's a working version, but I wouldn't consider it ready for release. Link to comment
Seven Posted June 25, 2016 Author Share Posted June 25, 2016 Working or release-ready? There's a working version, but I wouldn't consider it ready for release.What is the text I have to put in the shader file for normals? Link to comment
Asgarath83 Posted June 26, 2016 Share Posted June 26, 2016 What is the text I have to put in the shader file for normals? textures/amace_leviathan/wall3 { q3map_normalimage textures/amace_leviathan/wall3_normalmap qer_editorimage textures/amace_leviathan/wall3 q3map_lightmapsamplesize 1x1 { map $lightmap rgbGen identity } { map textures/amace_leviathan/wall3 blendFunc GL_DST_COLOR GL_ZERO } }example shaderq3map_normalimage "path of texture" Link to comment
AshuraDX Posted June 26, 2016 Share Posted June 26, 2016 textures/amace_leviathan/wall3 { q3map_normalimage textures/amace_leviathan/wall3_normalmap qer_editorimage textures/amace_leviathan/wall3 q3map_lightmapsamplesize 1x1 { map $lightmap rgbGen identity } { map textures/amace_leviathan/wall3 blendFunc GL_DST_COLOR GL_ZERO } }example shaderq3map_normalimage "path of texture" not in rend2 Link to comment
Seven Posted June 26, 2016 Author Share Posted June 26, 2016 not in rend2Then what is it in rend2? Link to comment
AshuraDX Posted June 26, 2016 Share Posted June 26, 2016 Then what is it in rend2?I think my Murasama model includes a rend2 .mtr file, go check that out - I'm on mobile right now and can't check it for you Seven likes this Link to comment
minilogoguy18 Posted June 27, 2016 Share Posted June 27, 2016 My AT-ST includes a .mtr shader file you could use as a reference that Ashura wrote. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now