Dad72 Posted February 10, 2017 Author Share Posted February 10, 2017 Thanks JohnK. Your PG, have helped me see more clearly and I managed to solve your PG with the dynamicTexture. I will see to add the painting mode the top to see how this will work. http://www.babylonjs-playground.com/#1OQFOC#49 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 10, 2017 Author Share Posted February 10, 2017 Once the paint system is added, it will not work. The texture being repeated, will paint several times the same thing. http://www.babylonjs-playground.com/#1OQFOC#50 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 10, 2017 Author Share Posted February 10, 2017 The problem is also the same on a demo of the playground with the heigtmap. The textures are blurry when you are close. A distance is ok. In an RPG game the camera is at character height, so close to the terrain. Which is a real problem for the quality of a game when the texture is blurry or pixelated. There is missing "Detail Texture" in Babylon when the camera is close to a texture : http://www.rastertek.com/tertut13.html For example Unity has something to increase the detail of the texture when the camera is close to that https://unity3d.com/fr/learn/tutorials/topics/graphics/using-detail-textures-extra-realism-close UnrealEngine also using detail texture https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/HowTo/DetailTexturing/ I think that whatever I do, it will pixelize. Babylon will have to be able to support this functionality in the standardMaterial and dynamiqueTexture to gain quality in textures and to create worlds of quality. . Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 10, 2017 Author Share Posted February 10, 2017 I leave this for my editor. The fields will be done with the modeling editor (3ds max or blender) and will import their ground directly in my editor to complete the game. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 14, 2017 Author Share Posted February 14, 2017 I found an interesting link to create the shader and the material with a detail texture : https://gamedevelopment.tutsplus.com/tutorials/creating-realistic-terrain-for-html5-games-with-webgl--cms-24539 I'll try to experiment with it to see what it does. I will be able to find a solution at one point. I will try to create my terrain editor separate, then share it for Babylon. It is something that is lacking in the present hour. 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.