CabinGame/Luxe/shaders/pixel_text_ui.material_basis.lx

63 lines
1.6 KiB
Text
Raw Normal View History

2020-09-12 09:35:28 +00:00
material_basis = {
vertex_format = "luxe.textured"
shaders = {
vertex = { library="shaders/pixel_text_ui" function="vert" }
fragment = { library="shaders/pixel_text_ui" function="frag" }
}
depth_test = true
depth_write = false
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 = {
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"
}
]
}
}
}