Comments (1)
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dterrain.