Search the Community
Showing results for tags 'terrainmaterial'.
-
I was wondering whether or not it's possible to get the world/3D positions of different textures using the TerrainMaterial. Let's use the TerrainMaterial PG as an example: https://www.babylonjs-playground.com/#E6OZX#7 Now, let's say I want to place meshes wherever the rock texture is used on the ground mesh, programmatically and automatically. I don't seem to find any relevant references or functions in the object, and can't think of a proper way without loading the image separately and somehow map those colors to the ground positions.
- 3 replies
-
- terrainmaterial
- texture
-
(and 1 more)
Tagged with:
-
A rather silly question, but so far i was not able to download this elusive BABYLON.TerrainMaterial. I found a .ts typescript version in the github, and a .min.js version somewhere on the babylon website, but neither are compatible with babylon.max.js afaik which is preferable for developing. So I'm looking for terrainmaterial.max.js is it available anywhere?