Pryme8 Posted April 2, 2018 Share Posted April 2, 2018 http://www.babylonjs-playground.com/#0J7M2M#54 http://www.babylonjs-playground.com/#0J7M2M#57 Notice the fracturing between zones? So the heightmap is being generated by a noise algo on a shader then applied to a rendertargettexture. If I was to just use the raw noise algo to displace it everything would be honkey dorry, but for some reason my values on the samplers seems to not be consistent. I know there are a few errors on my math for the normal stuff and unit size but all that should be irrelevant to the high stuff. I tried to set precisions and alas nothing seems to work. Ive tried different filtering/sampling modes etc... In theory this is supposed to be easy. Any ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2018 Share Posted April 2, 2018 Did you check with Spector.js? It can give you a precise view of what's inside the shader samplers Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted April 2, 2018 Author Share Posted April 2, 2018 http://www.babylonjs-playground.com/#CDQ3GI#1 Gonna do that, I think I need to include my gutters like the above example and that should fix it Im thinkin. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted April 2, 2018 Author Share Posted April 2, 2018 http://www.babylonjs-playground.com/#WWJUIG#5 Now to go back and do the generation pass, with the new set up and I am hoping the problem will be fixed. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted April 2, 2018 Author Share Posted April 2, 2018 Using Adjusted UV: http://www.babylonjs-playground.com/#WWJUIG#15 rabble rabble rabble... it did not fix anything... my brain hurts normally stuff like this I have no problem with... sigh... Using Original UV: http://www.babylonjs-playground.com/#WWJUIG#14 with this one I would assume there should be some overlap/repetition but I'm guessing my math if off if there is not. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted April 3, 2018 Author Share Posted April 3, 2018 http://www.babylonjs-playground.com/#WWJUIG#18 After simplifying the UV/heightmap stuff the zones still do not match up where they to the best of my knowledge pointing to the same data. hmmm this is prolly frustrating me more then it should. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted April 3, 2018 Author Share Posted April 3, 2018 http://www.babylonjs-playground.com/#WWJUIG#20 Had an epiphany before bed... Now to make the noises line up. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.