Comments (2)
Hi!
Painted textures can be obtained with GetPaintMainTexture.
However, it is RenderTexture, you need to convert it to Texture2D to use GetPixel.
This method is very heavy processing. Calling it repeatedly is not recommended.
from inkpainter.
Okay, awesome, that gave me an idea that should work on how to read the colours. Thanks for your help!
Don't know if you were interested but the development of our game is gonna be put on twitter here: https://twitter.com/PrimeFoolery
from inkpainter.
Related Issues (20)
- wipe effect HOT 1
- Ink Painter Texturing Error when using ProBuilder HOT 1
- Adding InkCanvas component at runtime HOT 1
- Solution for Inkpainter with repeated texture. HOT 1
- 2D support HOT 1
- Fill status HOT 6
- Meshes imported from Blender does not work after SceneManager resets current scene. HOT 1
- Multiple Height Fluids
- Does not work when a texture is tiled.
- Paint size is affected by the size of the object being painted to.
- How to have dripping height paint on Collison?
- How to check what percentage of texture has been painted and how much remaining?
- StackOverflowException when painting on any non-Unity object using WorldPoint or Nearest Surface Point on MousePainter
- Asset won't work once project is built?
- NormalMap Paint didnt work with me on android
- It doesn't work in any ragdoll humanoid
- EXE program file is missing
- Creating an InkCanvas on runtime.
- EXE Program Is Missing
- Samples don't work on unity 2022.3.16 with URP
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 inkpainter.