Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:37:55 -05:00
commit bd6318027f
4937 files changed
+194287

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
[
{"path":"materials/particles.material"},
{"path":"materials/shadows.material"},
{"path":"materials/sky.material"},
{"path":"materials/ui.material"},
{"path":"materials/ui3D.material"},
{"path":"materials/postfx.material"}
]
+269
View File
@@ -0,0 +1,269 @@
{
"entity_static": {
"vertexShader": "shaders/entity.vertex",
"fragmentShader": "shaders/entity.fragment"
},
"entity_flat_color": {
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"entity_flat_color_line:entity_flat_color": {
"defines": [ "LINE_STRIP" ]
},
"entity:entity_static": {
"defines": [ "USE_OVERLAY" ]
},
"opaque_block:entity_static": {
},
"entity_nocull:entity": {
"states": [ "DisableCulling" ]
},
"entity_change_color:entity_nocull": {
"defines": [
"USE_OVERLAY",
"USE_COLOR_MASK"
]
},
"entity_alphatest:entity_nocull": {
"defines": [ "ALPHA_TEST" ],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
]
},
"entity_alphablend:entity_nocull": {
"states": [
"Blending"
]
},
"entity_emissive:entity": {
"defines": [ "USE_EMISSIVE" ]
},
"entity_emissive_alpha:entity_nocull": {
"defines": [
"ALPHA_TEST",
"USE_EMISSIVE"
]
},
"entity_custom:entity": {
"states": [ "Blending" ],
"defines": [ "ALPHA_TEST", "Blending", "USE_OVERLAY", "USE_MASK" ],
"blendSrc": "SourceColor",
"blendDst": "Zero"
},
"slime_outer:entity": {
"states": [ "Blending" ]
},
"item_in_hand:entity": {
"defines": [ "COLOR_BASED", "NO_TEXTURE", "ITEM_IN_HAND" ]
},
"charged_creeper:entity_static": {
"defines": [ "USE_UV_ANIM" ],
"states": [ "Blending", "DisableCulling", "DisableDepthWrite" ],
"blendSrc": "One",
"blendDst": "One",
"samplerStates": [
{
"samplerIndex": 0,
"textureWrap": "Repeat"
}
]
},
"item_in_hand_glint:item_in_hand": {
"defines": [
"GLINT"
],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
]
},
"entity_glint:entity": {
"defines": [
"GLINT"
],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
]
},
"entity_alphatest_glint:entity_alphatest": {
"defines": [
"GLINT"
],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
]
},
"entity_change_color_glint:entity_glint": {
"defines": [
"USE_COLOR_MASK"
]
},
"entity_alphatest_change_color_glint:entity_alphatest_glint": {
"defines": [
"USE_COLOR_MASK"
]
},
"entity_alphatest_change_color:entity_change_color": {
"defines": [
"ALPHA_TEST",
"USE_COLOR_MASK"
],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
]
},
"entity_alphatest_change_color_glint:entity_change_color": {
"defines": [
"ALPHA_TEST",
"USE_COLOR_MASK",
"GLINT"
],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
]
},
"entity_multitexture:entity": {
"defines": [
"USE_MULTITEXTURE"
],
"samplerStates": [
{
"samplerIndex": 0,
"textureWrap": "Clamp"
},
{
"samplerIndex": 1,
"textureWrap": "Clamp"
},
{
"samplerIndex": 2,
"textureWrap": "Clamp"
}
]
},
"entity_multitexture_color_mask:entity_multitexture": {
"defines": [
"COLOR_SECOND_TEXTURE"
]
},
"entity_multitexture_alpha_test:entity_multitexture": {
"states": [ "DisableCulling" ],
"defines": [
"ALPHA_TEST"
]
},
"entity_multitexture_alpha_test_color_mask:entity_multitexture_color_mask": {
"states": [ "DisableCulling" ],
"defines": [
"ALPHA_TEST"
]
},
"entity_lead_base:entity": {
"states": [
"Blending",
"DisableCulling"
]
},
"moving_block": {
"vertexShader": "shaders/renderchunk.vertex",
"fragmentShader": "shaders/renderchunk.fragment",
"defines": [ "LOW_PRECISION", "TEXEL_AA", "ATLAS_TEXTURE", "AS_ENTITY_RENDERER" ],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter" : "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
}
]
},
"moving_block_seasons:moving_block" : {
"defines": [ "SEASONS" ],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter" : "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
},
{
"samplerIndex": 2,
"textureFilter": "Point"
}
]
},
"moving_block_alpha_seasons:moving_block_seasons" : {
"defines": [ "ALPHA_TEST" ],
"states": [ "DisableCulling", "EnableAlphaToCoverage" ]
},
"moving_block_alpha_single_side:moving_block" : {
"defines": [ "ALPHA_TEST" ],
"states": [ "EnableAlphaToCoverage" ]
},
"moving_block_alpha:moving_block_alpha_single_side" : {
"states": [ "DisableCulling", "PolygonOffset" ],
// z-fighting fix
"polygonOffsetLevel" : 0.1
},
"moving_block_double_side:moving_block" : {
"states": [ "DisableCulling" ]
},
"moving_block_blend:moving_block" : {
"defines": [ "BLEND" ],
"states": [ "Blending" ]
}
}
+7
View File
@@ -0,0 +1,7 @@
[
{"path":"materials/fancy.material"},
{"path":"materials/entity.material", "defines":["FANCY"]},
{"path":"materials/terrain.material", "defines":["FANCY", "FOG"]},
{"path":"materials/terrain.material", "defines":["FANCY", "FOG"], "tag":"_fog"},
{"path":"materials/hologram.material"}
]
+9
View File
@@ -0,0 +1,9 @@
{
"clouds":{
"states": ["Blending", "DisableAlphaWrite"],
"vertexShader" : "shaders/cloud.vertex",
"fragmentShader" : "shaders/color.fragment"
}
}
+173
View File
@@ -0,0 +1,173 @@
{
"hologram_sr_mesh": {
"vertexShader": "shaders/hologram_sr.vertex",
"fragmentShader" : "shaders/hologram_sr.fragment"
},
"holoscreen_monoscopic_quad": {
"states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"hologram": {
"defines": [
"ALPHA_TEST"
],
"depthFunc": "LessEqual",
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment"
},
"holoroom_fence": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment"
},
"holoroom_skirt": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"holoroom_inner_skirt": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/holoroom_inner_skirt.vertex",
"fragmentShader": "shaders/holoroom_inner_skirt.fragment"
},
"holoscreen_one_to_one_cutout": {
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"holoscreen_one_to_one_cutout_skyfill": {
"states": [
"DisableDepthTest",
"Blending"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"holoroom_tableSurface": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/holoroom_tableSurface.vertex",
"fragmentShader": "shaders/holoroom_tableSurface.fragment"
},
"holoroom_tableFloor": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/color.vertex",
"fragmentShader": "shaders/color.fragment"
},
"hololens_LSRPlane": {
"states":["DisableCulling", "DisableDepthWrite", "Blending"],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc":"LessEqual",
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"hololens_LSRPlaneTextured": {
"states":["DisableCulling", "DisableDepthWrite", "Blending"],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc":"LessEqual",
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_ccolor.fragment"
},
"hololens_UICursor": {
"states":["DisableCulling", "DisableDepthWrite", "Blending"],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc":"Always",
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_ccolor.fragment"
},
"hololens_UICursor_ingame": {
"states": [ "Blending", "DisableDepthWrite", "PolygonOffset" ],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"polygonOffsetLevel": 5.2,
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"hologram_hit_effect": {
"states": [
"DisableDepthTest",
"Blending"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"reality_frame_cutout": {
"states":["Blending"],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"reality_frame_skyfill": {
"states": [
"DisableDepthTest",
"Blending"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"living_room": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_ccolor.fragment"
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"particles_opaque": {
"defines": [ "ENABLE_FOG" ],
"states": [ "DisableAlphaWrite" ],
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment"
},
"particles_alpha": {
"defines": [ "ALPHA_TEST", "ENABLE_FOG" ],
"states": [ "DisableAlphaWrite" ],
"vertexShader" : "shaders/color_uv.vertex",
"fragmentShader" : "shaders/color_texture.fragment"
},
"particles_alpha_blended": {
"defines": [ "ENABLE_FOG" ],
"states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"vertexShader" : "shaders/color_uv.vertex",
"fragmentShader" : "shaders/color_texture.fragment"
}
}
+83
View File
@@ -0,0 +1,83 @@
{
"postfx_base": {
"states": [
"DisableDepthTest"
],
"depthFunc": "Always",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"convolutionX:postfx_base": {
"vertexShader": "shaders/convolution.vertex",
"fragmentShader": "shaders/convolution.fragment",
"defines":["X_INCREMENT 0.0078125", "Y_INCREMENT 0.0"]
},
"convolutionY:postfx_base": {
"vertexShader": "shaders/convolution.vertex",
"fragmentShader": "shaders/convolution.fragment",
"defines":["Y_INCREMENT 0.0078125", "X_INCREMENT 0.0"]
},
"postfx_textured_blend": {
"states": [
"DisableDepthTest",
"Blending"
],
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/add_blend.fragment",
"blendSrc": "SourceAlpha",
"blendDst": "One",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
}
]
},
"postfx_textured_bilinear": {
"states": [
"DisableDepthTest"
],
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"postfx_textured_blit": {
"states": [
"DisableDepthTest"
],
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture.fragment"
},
"postfx_grading_blit": {
"states": [
"DisableDepthTest"
],
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_grading.fragment"
}
}
+7
View File
@@ -0,0 +1,7 @@
[
{"path":"materials/sad.material"},
{"path":"materials/entity.material"},
{"path":"materials/terrain.material"},
{"path":"materials/terrain.material", "defines":["FOG"], "tag":"_fog"},
{"path":"materials/hologram.material"}
]
+8
View File
@@ -0,0 +1,8 @@
{
"clouds": {
"states": [ "DisableAlphaWrite" ],
"vertexShader": "shaders/cloud.vertex",
"fragmentShader": "shaders/color.fragment"
}
}
+97
View File
@@ -0,0 +1,97 @@
{
"shadow_front": {
"states": [
"StencilWrite",
"DisableColorWrite",
"DisableDepthWrite",
"EnableStencilTest"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment",
"frontFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"stencilRef": 0,
"stencilReadMask": 255,
"stencilWriteMask": 1
},
"shadow_back": {
"states": [
"StencilWrite",
"DisableColorWrite",
"DisableDepthWrite",
"InvertCulling",
"EnableStencilTest"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment",
"frontFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"stencilRef": 1,
"stencilReadMask": 255,
"stencilWriteMask": 1
},
"shadow_overlay": {
"states": [
"DisableDepthTest",
"DisableCulling",
"Blending",
"EnableStencilTest"
],
"vertexShader": "shaders/color.vertex",
"fragmentShader": "shaders/color_ex.fragment",
"frontFace": {
"stencilFunc": "Equal",
"stencilPass": "Replace"
},
"backFace": {
"stencilFunc": "Equal",
"stencilPass": "Replace"
},
"stencilRef": 1,
"stencilReadMask": 255,
"stencilWriteMask": 0
},
"water_hole": {
"states": [
"DisableColorWrite"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment"
}
}
+34
View File
@@ -0,0 +1,34 @@
{
"sun_moon": {
"states":[
"DisableDepthWrite",
"DisableAlphaWrite",
"Blending"],
"blendSrc": "SourceAlpha",
"blendDst": "One",
"vertexShader" : "shaders/uv.vertex",
"fragmentShader" : "shaders/texture_ccolor.fragment"
},
"stars": {
"states":[
"DisableDepthWrite",
"DisableAlphaWrite",
"Blending"],
"blendSrc": "OneMinusDestColor",
"blendDst": "One",
"vertexShader" : "shaders/color.vertex",
"fragmentShader" : "shaders/stars.fragment"
},
"skyplane": {
"states":[ "DisableDepthWrite", "DisableAlphaWrite" ],
"vertexShader" : "shaders/sky.vertex",
"fragmentShader" : "shaders/color.fragment"
}
}
+175
View File
@@ -0,0 +1,175 @@
{
"terrain_opaque": {
"vertexShader": "shaders/renderchunk.vertex",
"fragmentShader": "shaders/renderchunk.fragment",
"defines": [ "LOW_PRECISION", "TEXEL_AA", "ATLAS_TEXTURE" ],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter" : "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
}
]
},
"terrain_opaque_seasons:terrain_opaque": {
"defines": [ "SEASONS" ],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter" : "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
},
{
"samplerIndex": 2,
"textureFilter": "Point"
}
]
},
"terrain_blend:terrain_opaque": {
"defines": [ "BLEND" ],
"states": [
"Blending"
]
},
"terrain_water:terrain_blend": {
"defines": [ "NEAR_WATER" ],
"states": [
"PolygonOffset",
"Blending"
],
// Fix z-fighting by offsetting water polygons by epsilon
"polygonOffsetLevel": 0.1
},
"terrain_blend_below:terrain_blend": {
"states": [ "InvertCulling", "Blending", "EnableStencilTest" ]
},
"terrain_water_below:terrain_water": {
"states": [ "InvertCulling", "Blending", "EnableStencilTest" ]
},
"terrain_doubleside:terrain_opaque": {
"states": [ "DisableCulling" ]
},
"terrain_alpha_single_side:terrain_opaque": {
"defines": [ "ALPHA_TEST" ],
"states": [ "EnableAlphaToCoverage" ]
},
"terrain_alpha_seasons:terrain_opaque": {
"defines": [ "ALPHA_TEST", "SEASONS" ],
"states": [ "DisableCulling", "EnableAlphaToCoverage" ],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter" : "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
},
{
"samplerIndex": 2,
"textureFilter": "Point"
}
]
},
"terrain_alpha:terrain_alpha_single_side": {
"states": [ "DisableCulling", "PolygonOffset" ],
// z-fighting fix
"polygonOffsetLevel" : 0.1
},
"terrain_opaque_fog:terrain_opaque": {
"defines": [ "FOG" ]
},
"terrain_water_fog:terrain_water": {
"defines": [ "FOG", "BLEND", "NEAR_WATER" ]
},
"terrain_water_below_fog:terrain_water_fog": {
"states": [ "InvertCulling", "Blending", "EnableStencilTest" ]
},
"terrain_blend_fog:terrain_blend": {
"defines": [ "FOG", "BLEND" ]
},
"terrain_blend_below_fog:terrain_blend_fog": {
"states": [ "InvertCulling", "Blending", "EnableStencilTest" ]
},
"terrain_doubleside_fog:terrain_doubleside": {
"defines": [ "FOG" ]
},
"terrain_alpha_single_side_fog:terrain_alpha_single_side": {
"defines": [ "FOG" ]
},
"terrain_alpha_fog:terrain_alpha": {
"defines": [ "FOG" ]
},
"terrain_far:terrain_opaque": {
"defines": [
"FOG",
"LOW_PRECISION"
]
},
"terrain_seasons_far:terrain_opaque_seasons": {
"defines": [
"FOG",
"LOW_PRECISION"
]
},
"terrain_seasons_far_alpha:terrain_opaque_seasons": {
"defines": [
"FOG",
"LOW_PRECISION",
"SEASONS_FAR"
]
},
"terrain_fading_in:terrain_far": {
"defines" : ["ALLOW_FADE"]
},
"terrain_seasons_fading_in:terrain_seasons_far": {
"defines": [ "ALLOW_FADE" ]
},
"terrain_seasons_fading_in_alpha:terrain_seasons_far_alpha": {
"defines" : ["ALLOW_FADE"]
},
"terrain_inside_block": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
}
}
+280
View File
@@ -0,0 +1,280 @@
{
"ui_base": {
"states": [
"EnableStencilTest",
"DisableDepthTest",
"Blending"
],
"frontFace": {
"stencilFunc": "Equal",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Keep"
},
"backFace": {
"stencilFunc": "Equal",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Keep"
},
"stencilReadMask": 240,
"stencilWriteMask": 240
},
"ui_texture_and_color:ui_base": {
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment"
},
"ui_texture_and_color_blur:ui_texture_and_color": {
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"ui_texture_and_color_tint:ui_texture_and_color": {
"defines": [
"ENABLE_VERTEX_TINT_MASK"
]
},
"ui_text:ui_texture_and_color": {
"fragmentShader": "shaders/text.fragment"
},
"ui_fill_color:ui_base": {
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"ui_fill_stencil:ui_base": {
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment",
"states": [
"StencilWrite",
"EnableStencilTest",
"DisableColorWrite",
"DisableDepthWrite"
],
"frontFace": {
"stencilFunc": "Always",
"stencilFailOp": "Replace",
"stencilDepthFailOp": "Replace",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Always",
"stencilFailOp": "Replace",
"stencilDepthFailOp": "Replace",
"stencilPassOp": "Replace"
},
"stencilRefOverride": 0
},
"ui_fill_gradient:ui_base": {
"vertexShader": "shaders/color.vertex",
"fragmentShader": "shaders/color.fragment"
},
"ui_grayscale:ui_base": {
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/color_grayscale.fragment",
"alphaDst": "DestColor"
},
"ui_textured:ui_base": {
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture.fragment"
},
"ui_textured_and_glcolor:ui_base": {
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_ccolor.fragment",
"alphaDst": "DestColor"
},
"ui_item:ui_base": {
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment",
"defines": [ "ALPHA_TEST", "ENABLE_VERTEX_TINT_MASK" ]
},
"ui_item_glint_stencil:ui_item": {
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment",
"states": [
"StencilWrite",
"EnableStencilTest"
],
"frontFace": {
"stencilFunc": "Equal",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Equal",
"stencilPassOp": "Replace"
},
"stencilRef": 1,
"stencilReadMask": 240,
"stencilWriteMask": 15,
"defines": [ "ALPHA_TEST", "ENABLE_VERTEX_TINT_MASK" ]
},
"ui_item_unglint_stencil:ui_item_glint_stencil": {
"states": [
"StencilWrite",
"EnableStencilTest",
"DisableColorWrite",
"DisableDepthWrite"
],
"stencilRef": 0
},
"ui_item_glint:ui_base": {
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/color_texture.fragment",
"defines": [ "GLINT", "ENABLE_VERTEX_TINT_MASK" ],
"samplerStates": [
{
"samplerIndex": 1,
"textureWrap" : "Repeat",
"textureFilter": "Bilinear"
}
],
"stencilReadMask": 240,
"stencilWriteMask": 255
},
"ui_inventory_item_glint:ui_item_glint": {
"blendSrc": "SourceColor",
"blendDst": "One",
"states": [ "EnableStencilTest" ],
"frontFace": {
"stencilFunc": "Equal"
},
"backFace": {
"stencilFunc": "Equal"
},
"stencilRef": 1,
"stencilReadMask": 255,
"stencilWriteMask": 255,
"defines": [ "INVENTORY" ]
},
"ui_invert_overlay:ui_base": {
"blendSrc": "OneMinusDestColor",
"blendDst": "OneMinusSrcColor",
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment"
},
"ui_cubemap:ui_base": {
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"ui_crosshair:ui_invert_overlay": {
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture.fragment"
},
"animated_texture_blit": {
"states": [
"EnableStencilTest",
"DisableDepthTest",
"DisableCulling"
],
"frontFace": {
"stencilFunc": "Equal",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Keep"
},
"backFace": {
"stencilFunc": "Equal",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Keep"
},
"stencilReadMask": 240,
"stencilWriteMask": 240,
"vertexShader": "shaders/uv_blend.vertex",
"fragmentShader": "shaders/texture_blend.fragment"
},
"stitch_mip0": {
"states": [
"DisableDepthTest",
"DisableCulling"
],
"vertexShader": "shaders/stitch_blit.vertex",
"fragmentShader": "shaders/stitch_blit.fragment"
},
"stitch_mip1:stitch_mip0": {
"defines":["BLUR_RADIUS 2"]
},
"stitch_mip2:stitch_mip0": {
"defines":["BLUR_RADIUS 4"]
},
"stitch_mip3:stitch_mip0": {
"defines":["BLUR_RADIUS 8"]
},
"stitch_mip4:stitch_mip0": {
"defines":["BLUR_RADIUS 16"]
},
"stitch_mip_cheap:stitch_mip0": {
"defines":["BLUR_RADIUS 2"],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"block_overlay": {
"states": [
"PolygonOffset",
"Blending",
"DisableDepthWrite",
"DisableAlphaWrite"
],
"polygonOffsetLevel": 5,
"depthFunc": "LessEqual",
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_cutout.fragment"
},
"selection_overlay:block_overlay": {
"blendSrc": "DestColor",
"blendDst": "SourceColor",
"vertexShader": "shaders/uv_selection_overlay.vertex"
},
"fullscreen_cube_overlay": {
"vertexShader": "shaders/uv.vertex",
"fragmentShader": "shaders/texture_ccolor.fragment"
},
"fullscreen_cube_overlay_blend:fullscreen_cube_overlay": {
"states": [ "Blending" ]
},
"fullscreen_cube_overlay_opaque:fullscreen_cube_overlay": {
"states": [ "DisableCulling" ]
},
"selection_overlay_opaque:selection_overlay": {
"fragmentShader": "shaders/current_color.fragment"
},
"selection_overlay_double_sided:selection_overlay": {
"states": [
"DisableCulling"
]
},
"cracks_overlay:block_overlay": {
"blendSrc": "DestColor",
"blendDst": "Zero",
"depthFunc": "LessEqual",
"fragmentShader": "shaders/texture.fragment"
},
"cracks_overlay_alpha_test:cracks_overlay": {
"states": [
"DisableCulling"
],
"defines": [
"ALPHA_TEST"
]
},
"cracks_overlay_tile_entity:cracks_overlay": {
"vertexShader": "shaders/uv_scale.vertex",
"samplerStates": [
{
"samplerIndex": 0,
"textureWrap": "Repeat"
}
]
},
"name_tag": {
"states": [
"Blending"
],
"depthFunc": "Always",
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/current_color.fragment"
},
"name_tag_depth_tested:name_tag": {
"depthFunc": "LessEqual"
},
"sign_text": {
"states": [
"PolygonOffset",
"Blending"
],
"defines": [
"ALPHA_TEST"
],
"depthFunc": "LessEqual",
"vertexShader": "shaders/color_uv.vertex",
"fragmentShader": "shaders/text.fragment"
},
"name_text_depth_tested:sign_text": {},
"white_mat": {
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment"
},
"rain": {
"states": [
"DisableCulling",
"DisableDepthWrite",
"Blending"
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexShader": "shaders/rain_snow.vertex",
"fragmentShader": "shaders/rain_snow.fragment"
},
"snow": {
"states": [
"DisableCulling",
"DisableDepthWrite",
"Blending"
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexShader": "shaders/rain_snow.vertex",
"fragmentShader": "shaders/rain_snow.fragment"
},
"weather": {
"defines": [
"ALPHA_TEST"
],
"states": [
"DisableCulling"
],
"depthFunc": "LessEqual",
"vertexShader": "shaders/weather.vertex",
"fragmentShader": "shaders/weather.fragment"
},
"lightning": {
"states": [
"DisableCulling",
"Blending"
],
"depthFunc": "LessEqual",
"blendSrc": "SourceAlpha",
"blendDst": "One",
"vertexShader": "shaders/color.vertex",
"fragmentShader": "shaders/color.fragment"
},
"debug": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/color.vertex",
"fragmentShader": "shaders/color.fragment"
}
}