Blend Mode
Jump to navigation
Jump to search
Basic Information 基本信息 基本情報
| |
---|---|
Name 名称 名前
| Blend Mode |
Type 类别 タイプ
| Graphics |
Applicable Version 适用版本 適用バージョン
| LuaSTGPlus, LuaSTGExPlus |
Blend mode consists of two parts: one part specifies how vertex color is applied to fragments, the other part specifies how fragments blend with the buffer.
The engine provides several blend modes, they can be specified by name.
- Available blend modes
混合模式包含两部分:一部分指定顶点颜色如何应用于片段,另一部分指定片段如何与缓冲区混合。
引擎提供了若干混合模式,使用时以名称进行指定。
- 可选的混合模式
Blend mode consists of two parts: one part specifies how vertex color is applied to fragments, the other part specifies how fragments blend with the buffer.
The engine provides several blend modes, they can be specified by name.
- Available blend modes
Name 名称 Name
|
Description 描述 Description
|
---|---|
"" | Equals to "mul+alpha", default mode 等同于 "mul+alpha",默认模式 Equals to "mul+alpha", default mode
|
"mul+add" | Multiplication for vertex color, addition for blend 顶点颜色使用乘法,混合使用加法 Multiplication for vertex color, addition for blend
|
"mul+alpha" | Multiplication for vertex color, alpha for blend 顶点颜色使用乘法,混合使用alpha Multiplication for vertex color, alpha for blend
|
"mul+sub" | Multiplication for vertex color, subtraction for blend 顶点颜色使用乘法,混合使用减法 Multiplication for vertex color, subtraction for blend
|
"mul+rev" | Multiplication for vertex color, reverse subtraction for blend 顶点颜色使用乘法,混合使用反向减法 Multiplication for vertex color, reverse subtraction for blend
|
"add+add" | Addition for vertex color, addition for blend 顶点颜色使用加法,混合使用加法 Addition for vertex color, addition for blend
|
"add+alpha" | Addition for vertex color, alpha for blend 顶点颜色使用加法,混合使用alpha Addition for vertex color, alpha for blend
|
"add+sub" | Addition for vertex color, subtraction for blend 顶点颜色使用加法,混合使用减法 Addition for vertex color, subtraction for blend
|
"add+rev" | Addition for vertex color, reverse subtraction for blend 顶点颜色使用加法,混合使用反向减法 Addition for vertex color, reverse subtraction for blend
|