JCPalmer Posted February 8, 2018 Share Posted February 8, 2018 I wanted to make a tiled floor in the past. In that case, it was a tool scene to test walking poses, so performance did not matter. It was also to make it easy to count distance. When I tried to do it with a texture, it was always blurry. I just wrote a quick script to make a mesh with a bunch of black squares, and set the clear color of the scene to white. Here is what I got. Now, I would like the same effect & quality for a real scene (no shadows required). Not sure how big each square should be in advance. Needs to be adjustable to try different sizes. Do not want to use white for clear color for scene. Is this a good candidate for a procedural? If so, it seems there a number of variations in the framework & extensions (shaderbuilder). What would you recommend? Here is mesh: Quote Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2018 Share Posted February 8, 2018 What about using the GridMaterial? https://www.babylonjs-playground.com/#19K1J2#20 JCPalmer 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted February 8, 2018 Author Share Posted February 8, 2018 Holy grout lines, batman! This is just as good. Crisp quality, low vertex, no GLSL! Interior ground is not something I want to waste my effort, or texture & vertex budgets on. The recurring pattern over large surfaces causes expenditure of significant resources on, only to be un-noticable. Add a little accent rug with a little splash of color, perfect. 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.