BabylonJS / BabylonToolkit

Home of the community maintained Unity & Unreal exporters for Babylon.js
173 stars 46 forks source link

Material not rendering #27

Closed LuchoTurtle closed 3 years ago

LuchoTurtle commented 3 years ago

Hey there! Sorry for disturbing again but I feel stuck trying to preview my simple scene with rather basic material and shaders. I've added a basic terrain and material, like in the picture below.

image

However, when I preview the scene, the material doesn't seem to render... image

I'm using a rather simple texture and using a standard shader in Unity. I've tried to use both Unity's and Babylon's standard shader but it doesn't seem to make any difference...

I've tried to look through the documentation regarding shader materials but it doesn't really help. Any thoughts?

Thank you!

MackeyK24 commented 3 years ago

Is it an actual terrain ? Can you package up and send me the scene ?

LuchoTurtle commented 3 years ago

Yes, it is. It's a simple terrain where I'm using the preview package Terrain Tools (I don't know if that might be the cause of it). I'm using it because I might need it in the future, I'm aware that for the screenshots I sent they're overkill.

Regardless, here's the project file. Sorry for disturbing!

MackeyK24 commented 3 years ago

First... you have to choose a terrain shader like (Nature/Terrain/Diffuse or Nature/Terrain/Standard)...

Second... I do not support the new Mask Map texture slot. Only Main and Normal Terrain Textures

Third... I do not support the new experimental terrain tools (may or may not work)

LuchoTurtle commented 3 years ago

Alright, thanks for the clarification!