Langerd Posted August 29, 2014 Share Posted August 29, 2014 Is there any limits of the bump mapping ? Because i made a map with a lot of them and it is screwed up. Everything is black. Link to comment
Boothand Posted August 29, 2014 Share Posted August 29, 2014 Do you mean the fake (and usually bad looking) bump mapping in the vanilla renderer, or the normal maps of rend2?We can't know much for sure without a look at your shader though Link to comment
Langerd Posted August 30, 2014 Author Share Posted August 30, 2014 http://jkhub.org/tutorials/article/121-creating-fake-bump-mapping-in-jka/ these ones . Hmm How can i start a game in rend2? (Ah and now my map is all pink and the a lot of textures are like caulk texture ... they dont render ) Link to comment
Boothand Posted August 30, 2014 Share Posted August 30, 2014 Sounds like the shader for your caulk is missing then. Rend2 isn't quite ready for common use, though normal mapping works and it's nice to map for rend2 with the features that are already working. If you're really into that, you should be able to find what you need by researching this thread: http://jkhub.org/topic/2804-rd-rend2/But there is no clear documentation yet since it's not finished. Link to comment
Langerd Posted August 30, 2014 Author Share Posted August 30, 2014 Ok thanks! No it is not missing ... it is the one of the most stnagest bugs i have ever seen ... One time map is completly black and one is pink or yellow. Sometimes in render normaly but 15 seconds later is start going apeshit.Many thanks for answers!And the simple one shader is like this:textures/cloudy/floor3{ q3map_normalimage textures/cloudy/floor3_normal qer_editorimage textures/cloudy/floor3 q3map_lightmapsamplesize 1x1{ map $lightmap rgbGen identity}{ map textures/cloudy/floor3 blendFunc GL_DST_COLOR GL_ZERO}}I add a normal shader to the texture i used the most in my map and then it started to look ugly and buggy. I also think it is compile bug because in my test map this ,,main'' texture works fine and the console doesnt show any errors with shader. So it is probably because of the amount of it. Link to comment
Szico VII Posted August 30, 2014 Share Posted August 30, 2014 q3map_lightmapsamplesize 1x1 Thats one of the things that can cause such an error, particularly if the shader is used extensively and especially if combined with a worldspawn key like _lightmapscale (0.xx) Link to comment
Langerd Posted August 30, 2014 Author Share Posted August 30, 2014 You scored a bull's eye Like always! I have _lightmapscale 3 and i add this bump map effect to the texture that is on 60% of brushes.Soo i guess it was crazy idea. Link to comment
Szico VII Posted August 31, 2014 Share Posted August 31, 2014 Lightmapscale of >1 will actually help, as it is values of less than one that will cause this error. However having that on 60% of your brushes will do it regardless, particularly if you're compiling with -samples or -bounce or -filter. You can use it more sparingly or try 2x2, 4x4 instead. 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