mohsenph69 / Godot-MTerrain-plugin

A GDExtension plugin which give godot the ability to produce highly optimized Terrain for Open world games
MIT License
499 stars 25 forks source link

Add paint 16 layer is not always generating an image in the .res data file #68

Open lucasthomaz97 opened 3 weeks ago

lucasthomaz97 commented 3 weeks ago

https://github.com/user-attachments/assets/34cb28c6-16d1-4986-98b8-eded2f69ea49

Given i am going to paint the terrain When i enter the create layer image screen And i generate the image And i click to paint Expected: Then i am able to keep painting or adding new paint layers Actual: Then Godot crashes when you click to paint something.

You can notice in the video that when i open the y_0.res file it doesn't creates the image there, which is expected as i undestood.

edit: i already noticed that my shader parameter is wrong, that's probably why it crashes the engine when i click on the paint option, but the crash still occurs if the shader parameter is right, but when you start painting, as i show in the next comment video.

lucasthomaz97 commented 3 weeks ago

here's another video evidence, since in the other one i forgot to change the shader parameter name.

https://github.com/user-attachments/assets/fc0d20ee-8bab-4df3-9715-7f5ee83bc4bc