aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/material.h
diff options
context:
space:
mode:
authorJuan Linietsky2014-05-24 01:35:47 -0300
committerJuan Linietsky2014-05-24 01:35:47 -0300
commit1cad087969efefa401a11051343cd0689f660770 (patch)
tree1595dd049bdb7289752012dca4398b2251fb08fa /scene/resources/material.h
parentf9ff086235cd4ff406b136f62fff77b85c0873f9 (diff)
downloadgodot-1cad087969efefa401a11051343cd0689f660770.tar.gz
godot-1cad087969efefa401a11051343cd0689f660770.tar.zst
godot-1cad087969efefa401a11051343cd0689f660770.zip
Making Godot Easier to Use..
-=-=-=-=-=-=-=-=-=-=-=-=-=-= -Auto indenter in code editor, this makes it much easier to paste external code. -Zoom in 2D viewport now uses the mouse pointer as reference. -Obscure hack to see where code/line of GDScript in C++ backtrace. -Fixed a bug where keys would get stuck on X11 if pressed simultaneously -Added Api on IP singleton to request local IPs. -Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
Diffstat (limited to 'scene/resources/material.h')
-rw-r--r--scene/resources/material.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h
index 7bd8b70fa..1f2afb70b 100644
--- a/scene/resources/material.h
+++ b/scene/resources/material.h
@@ -75,6 +75,7 @@ public:
BLEND_MODE_MUL = VS::MATERIAL_BLEND_MODE_MUL,
BLEND_MODE_ADD = VS::MATERIAL_BLEND_MODE_ADD,
BLEND_MODE_SUB = VS::MATERIAL_BLEND_MODE_SUB,
+ BLEND_MODE_PREMULT_ALPHA = VS::MATERIAL_BLEND_MODE_PREMULT_ALPHA,
};