envirogugl.blogg.se

Multitouch paint
Multitouch paint





multitouch paint

Do I have to do anything special in the import settings or something? The painting around edges becomes a bit pixelated. When I paint near edges (in PaintAreaLockMask scene) it's not very accurate. Which property should I tweak to paint with the color I choose?Īnother issue is about edges. For example, if I want to color with red, when I start to paint it's some kind of pink. When I pick a color and start to paint with it, it's always a bit softer than the one I choose. I'm having some issues when I'm trying to set colors. I have some concerns about it though and maybe you can help me. – Cleaning: Started moving helper methods into separate script Library/PaintTools.cs – Cleaning: Arranged scripts into different folders – Updated: Documentation for current version – Changed: Renamed original demo scene into “scene_MobilePaint_default” – Changed: Sample brushes are now with colors – Changed: GUIScaler.cs now runs at Awake() instead of Start() – Changed: “maskTex” variable is removed (“maskImage” is used instead, originally maskTex was copied from “maskImage”.) – Changed: Renamed public variable “screenSizeAdjust” into “canvasSizeAdjust” – Changed: Public variable “drawMode” is now using DrawMode enum (list is defined at top of MobilePaint.cs)

multitouch paint

– Changed: Floodfill now uses alpha also to compare fill spread (only RGB was used before) – Fixed: Custom brush now uses brush colors (instead of paintcolor) – Fixed: More guard clauses added (check for null mask texture, check if undo enabled before can do undo etc). – Added: Demo scene “scene_MobilePaint_MaskImage” – Added: Demo scene “scene_MobilePaint_EraseCanvasAlpha” – Added: Alpha value slider in the palette (color picker) dialog – Added: Public method “DoUndo()”, basic undo system (restores one step only) – Added: Public method “ReadClearingImage()”, reads initially set maintexture from canvas (to be used as an clearing image) – Added: Initial canvas texture is now taken as an “clearing texture” (as an canvas texture) if assigned in the material maintexture in the inspector – Added: Public variable “useAdditiveColors”, true = colors adds up slowly, false = one click will instantly set color to brush or paint color value – Added: Public variable “UseCustomBrushAlpha”, true = take alpha from brush, false = use paintcolor alpha value – Added: Public variable “BrushAlphaStrengh”, it controls additive brush alpha strength, try 0.1f or 1 or 5 to see the difference – Added: Alpha support for paintcolor (alpha value is now used), “soft / additive painting” works







Multitouch paint