Skip to content

Commit

Permalink
Use normal blend instead of alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwu committed Aug 27, 2024
1 parent 61d107b commit 54d077c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pkg/ant.resources/materials/font/font.material
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ state:
CULL: CCW
DEPTH_TEST: ALWAYS
WRITE_MASK: RGBA
BLEND: ALPHA
BLEND: NORMAL
2 changes: 1 addition & 1 deletion pkg/ant.resources/materials/polyline.material
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ state:
DEPTH_TEST: GREATER
MSAA: true
WRITE_MASK: RGBA
BLEND: ALPHA
BLEND: NORMAL
2 changes: 1 addition & 1 deletion pkg/ant.resources/materials/polylinelist.material
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ state:
DEPTH_TEST: GREATER
MSAA: true
WRITE_MASK: RGBA
BLEND: ALPHA
BLEND: NORMAL
2 changes: 1 addition & 1 deletion pkg/ant.resources/materials/singlecolor_nocull.material
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ state:
CULL: NONE
DEPTH_TEST: ALWAYS
MSAA: true
BLEND: ALPHA
BLEND: NORMAL
WRITE_MASK: RGBA
2 changes: 1 addition & 1 deletion pkg/ant.resources/materials/sprite2d.material
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ state:
DEPTH_TEST: GREATER
MSAA: true
WRITE_MASK: RGBA
BLEND: ALPHA
BLEND: NORMAL
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ state:
DEPTH_TEST: GREATER
MSAA: true
WRITE_MASK: RGBA
BLEND: ALPHA
BLEND: NORMAL
2 changes: 1 addition & 1 deletion pkg/ant.resources/materials/vertexcolor_nocull.material
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ state:
CULL: NONE
DEPTH_TEST: ALWAYS
MSAA: true
BLEND: ALPHA
BLEND: NORMAL
WRITE_MASK: RGBA
2 changes: 1 addition & 1 deletion pkg/ant.terrain/assets/water2.material
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ properties:
state:
WRITE_MASK: RGBA
DEPTH_TEST: GREATER
BLEND: ALPHA
BLEND: NORMAL
2 changes: 1 addition & 1 deletion test/canvas/asset/canvas.material
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ state:
DEPTH_TEST: GREATER
MSAA: true
WRITE_MASK: RGBAZ
BLEND: ALPHA
BLEND: NORMAL
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ properties:
state:
ALPHA_REF: 0
CULL: CCW
BLEND: ALPHA
BLEND: NORMAL
DEPTH_TEST: ALWAYS
WRITE_MASK: RGBA

0 comments on commit 54d077c

Please sign in to comment.