Giter VIP home page Giter VIP logo

Comments (1)

Ideefixze avatar Ideefixze commented on May 20, 2024

I checked it in the preview scene included in this repo and if I get it correctly I think I might know what is happening here.
This is an issue, but it is related to two things: the way how ADD_COLOR mode works and how Unity handles textures.

ADD_COLOR just takes color that is on the texture and adds RGB values.

Unity on the other hand handles textures in more complicated way and it is even hard for me to elaborate on this topic further.
The best way to see it is to, after you run you game with DTerrain layers in it, go to Scene view. Under tab "Scene" you have dropdown list with many different render modes and if you select "Mipmap" mode you can see how colors are streched out even though there should be transparent color.

ADD_COLOR mode on untouched area looks like it would now take the closest color and expand it.

Currently, I am unable to dig deep into this issue. Try to play with orginal texture import options especially: "alpha is transparency"
This made my preview scene on ADD_COLOR to fill untouched terrain with a one color (which was a beige color, weird).

from dterrain.

Related Issues (4)

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.