kalysti / terrain-tool-godot4

GODOT 4 3D Terrain Editor (C# Plugin)
MIT License
159 stars 12 forks source link

Terrain texture is not rendering #12

Closed Sythelux closed 1 year ago

Sythelux commented 2 years ago

Describe the bug After generating the terrain doesn't have a texture.

To Reproduce Steps to reproduce the behavior:

  1. Add a Terrain3D node to the scene
  2. Set a texture and the default shader
  3. go to the Terrain button and create a terrain.
  4. Choose a heightmap and click ok

Expected behavior after a click on "ok" the terrain should be visible with the default texture as rendered texture.

Desktop

kalysti commented 2 years ago

Hey dude, i wil try to figure it out in couple of days.

Sythelux commented 1 year ago

Hey dude, i wil try to figure it out in couple of days.

I think I got it. the shader just lost the default values. It should work now. But I don't have a good example with a fitting splatmap and heightmap. So it would be neat if you or anyone can verify it.

Sythelux commented 1 year ago

Obsolete as Godot 4.1 is out and everything changed.