Code Monkey home page Code Monkey logo

Comments (2)

Zylann avatar Zylann commented on June 17, 2024

I'm still using Godot 3 if that matters.

It matters, as I stopped updating this version for years, which is very old at this point.

splatmap.set_pixel(x, z, Color(0.5,0.5,0,0));

Assuming you use Classic4, that should work. I don't know why it doesn't in your case.
Maybe one thing that could affect it is depth blending: if both textures have the same weight but different heights, then equal weights doesnt necessarily mean there will be 50% of each visible. The one with the highest depth will remain visible for longer.
But if you don't use that feature, then I don't know.

from godot_heightmap_plugin.

NoTitleGamesOfficial avatar NoTitleGamesOfficial commented on June 17, 2024

I'm still using Godot 3 if that matters.

It matters, as I stopped updating this version for years, which is very old at this point.

I see, thx for taking your time to help me with that old version :)

splatmap.set_pixel(x, z, Color(0.5,0.5,0,0));

Assuming you use Classic4, that should work. I don't know why it doesn't in your case. Maybe one thing that could affect it is depth blending: if both textures have the same weight but different heights, then equal weights doesnt necessarily mean there will be 50% of each visible. The one with the highest depth will remain visible for longer. But if you don't use that feature, then I don't know.

I gave it a try with either different weights (like 40% / 60%). Also I don't use depth blending.
And I tried it with both Classic4 and Classic4Lite shader.

from godot_heightmap_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.