2020-09-12 09:35:28 +00:00
|
|
|
material_basis = {
|
2020-10-11 15:22:57 +00:00
|
|
|
vertex_format = "luxe.ui_font"
|
2020-09-12 09:35:28 +00:00
|
|
|
shaders = {
|
|
|
|
|
vertex = { library="shaders/pixel_text_ui" function="vert" }
|
|
|
|
|
fragment = { library="shaders/pixel_text_ui" function="frag" }
|
|
|
|
|
}
|
|
|
|
|
depth_test = true
|
2020-10-11 15:22:57 +00:00
|
|
|
depth_write = true
|
2020-09-12 09:35:28 +00:00
|
|
|
depth_compare = "less_equal"
|
|
|
|
|
stencil_test = false
|
|
|
|
|
write_mask = { red=true green=true blue=true alpha=true }
|
|
|
|
|
blending = true
|
|
|
|
|
alpha_blend = "add"
|
|
|
|
|
rgb_blend = "add"
|
|
|
|
|
src_alpha = "source_alpha"
|
|
|
|
|
src_rgb = "source_alpha"
|
|
|
|
|
dest_alpha = "one_minus_source_alpha"
|
|
|
|
|
dest_rgb = "one_minus_source_alpha"
|
|
|
|
|
blend_color = [0 0 0 0]
|
|
|
|
|
cull = "none"
|
|
|
|
|
winding = "counter_clockwise"
|
|
|
|
|
layers = ["default"]
|
|
|
|
|
inputs = {
|
2020-10-11 15:22:57 +00:00
|
|
|
ui.tex_mask = {
|
|
|
|
|
type = "image"
|
|
|
|
|
value = {
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "nearest_clamp"
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-12 09:35:28 +00:00
|
|
|
font.pages = {
|
|
|
|
|
type = "image"
|
|
|
|
|
count = 8
|
|
|
|
|
value = [
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
type = "image2D"
|
|
|
|
|
sampler_state = "linear_repeat"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2020-10-11 15:22:57 +00:00
|
|
|
ui.canvas_size = {
|
|
|
|
|
type = "float2"
|
|
|
|
|
value = [1 1]
|
|
|
|
|
}
|
2020-09-12 09:35:28 +00:00
|
|
|
}
|
|
|
|
|
}
|