574
edits
(→texture-unit: typo) |
(→blend (simple): adding this tag) |
||
Line 343: | Line 343: | ||
<destination>src-alpha-saturate</destination> | <destination>src-alpha-saturate</destination> | ||
</blend> | </blend> | ||
</syntaxhighlight> | |||
===== blend (simple) ===== | |||
A blend tag with 0 will do nothing. | |||
A blend tag with 1 will do the same as source-alpha: one-minus-dst-alpha, in other words it will enable z transparency using alpha from the fragment shader. | |||
Example: | |||
<syntaxhighlight lang="xml"> | |||
<blend>1</blend> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits