mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 00:11:55 +07:00
draw bm font
This commit is contained in:
21
samples/bin/library/font_material.json
Normal file
21
samples/bin/library/font_material.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"passes" : [{
|
||||
"shader" : "model_shader.json",
|
||||
"state_block" : {
|
||||
"capabilities_state" : {
|
||||
"depth_test" : false,
|
||||
"blending" : true
|
||||
},
|
||||
"blending_state" : {
|
||||
"src_factor" : "src_alpha",
|
||||
"dst_factor" : "one_minus_src_alpha"
|
||||
}
|
||||
}
|
||||
}],
|
||||
"property_block" : {
|
||||
"samplers" : [{
|
||||
"name" : "u_texture",
|
||||
"texture" : "boundsTestFont.png"
|
||||
}]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user