Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:34:38 -05:00
commit 86efc669e9
5013 files changed
+237743

No files matched your search

@@ -0,0 +1,9 @@
[
{"path":"materials/particles.material"},
{"path":"materials/shadows.material"},
{"path":"materials/sky.material"},
{"path":"materials/ui.material"},
{"path":"materials/postprocess.material", "defines": [ "FANCY" ]},
{"path":"materials/ui3D.material"},
{"path":"materials/portal.material"}
]
@@ -0,0 +1,668 @@
{
"materials": {
"version": "1.0.0",
"entity_static": {
"vertexShader": "shaders/entity.vertex",
"vrGeometryShader": "shaders/entity.geometry",
"fragmentShader": "shaders/entity.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"entity_flat_color_line": {
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"msaaSupport": "Both",
"+defines": [ "LINE_STRIP" ],
"primitiveMode": "Line",
"vertexFields": [
{ "field": "Position" }
]
},
"entity:entity_static": {
"+defines": [ "USE_OVERLAY" ],
"msaaSupport": "Both"
},
"opaque_block:entity_static": {
"msaaSupport": "Both"
},
"opaque_block_color:opaque_block": {
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"opaque_block_color_uv2:opaque_block": {
"vertexFields": [
{ "field": "Position" },
{ "field": "UV1" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"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"
}
],
"msaaSupport": "Both"
},
"map:entity_alphatest": {
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"item_in_hand_entity_alphatest:entity_alphatest": {
"msaaSupport": "Both"
},
"item_in_hand_entity_alphatest_color:item_in_hand_entity_alphatest": {
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"entity_alphablend:entity": {
"+states": [
"Blending"
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
},
"entity_alphablend_nocolor:entity_alphablend": {
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"guardian_ghost:entity_alphablend_nocolor": {
"+defines": [ "USE_COLOR_MASK" ]
},
"entity_emissive:entity": {
"+defines": [ "USE_EMISSIVE" ]
},
"entity_emissive_alpha:entity_nocull": {
"+defines": [
"ALPHA_TEST",
"USE_EMISSIVE"
]
},
"entity_emissive_alpha_one_sided:entity": {
"+defines": [
"ALPHA_TEST",
"USE_EMISSIVE"
]
},
"entity_custom:entity": {
"+states": [ "Blending" ],
"+defines": [ "ALPHA_TEST", "Blending", "USE_OVERLAY", "USE_MASK" ],
"blendSrc": "SourceColor",
"blendDst": "Zero"
},
"item_in_hand:entity": {
"+defines": [ "COLOR_BASED", "NO_TEXTURE", "ITEM_IN_HAND" ],
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "Color" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
},
"map_decoration": {
"+defines": [ "ALPHA_TEST", "TINTED" ],
"vertexShader": "shaders/entity.vertex",
"vrGeometryShader": "shaders/entity.geometry",
"fragmentShader": "shaders/entity.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"map_marker": {
"+defines": [ "ALPHA_TEST" ],
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/color_texture.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "Color" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"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": 0,
"textureFilter": "Point"
},
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
],
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "atlas.items"
},
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/misc/enchanted_item_glint"
}
]
},
"entity_glint:entity": {
"+defines": [
"GLINT"
],
"+samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
],
"textures": [
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/misc/enchanted_item_glint"
}
]
},
"entity_alphatest_glint:entity_alphatest": {
"+defines": [
"GLINT"
],
"+samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
],
"textures": [
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/misc/enchanted_item_glint"
}
]
},
"entity_alphatest_glint_item:entity_alphatest": {
"+defines": [
"GLINT"
],
"+samplerStates": [
{
"samplerIndex": 1,
"textureWrap": "Repeat"
}
],
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "atlas.items"
},
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/misc/enchanted_item_glint"
}
]
},
"entity_change_color_glint:entity_glint": {
"+defines": [
"USE_COLOR_MASK"
]
},
"entity_alphatest_change_color:entity_change_color": {
"+states": [ "DisableAlphaWrite" ],
"+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"
}
],
"textures": [
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/misc/enchanted_item_glint"
}
]
},
"beacon_beam:entity_nocull": {
"+defines": [
"COLOR_BASED",
"USE_COLOR_BLEND",
"USE_UV_ANIM"
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureWrap": "Repeat"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"beacon_beam_transparent:entity": {
"+states": [ "Blending", "DisableCulling", "DisableDepthWrite", "DisableAlphaWrite" ],
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/color_texture.fragment",
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"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",
"vrGeometryShader": "shaders/renderchunk.geometry",
"fragmentShader": "shaders/renderchunk.fragment",
"+defines": [ "LOW_PRECISION", "TEXEL_AA", "ATLAS_TEXTURE", "AS_ENTITY_RENDERER" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV1" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
},
"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" ],
// z-fighting fix
"depthBias": 100.0,
"slopeScaledDepthBias": 0.1,
"depthBiasOGL": 0.5,
"slopeScaledDepthBiasOGL": 0.5
},
"moving_block_double_side:moving_block": {
"+states": [ "DisableCulling" ]
},
"moving_block_blend:moving_block": {
"+defines": [ "BLEND" ],
"+states": [ "Blending" ]
},
"entity_beam:entity_nocull": {
"+defines": [ "USE_UV_ANIM", "ALPHA_TEST", "COLOR_BASED" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureWrap": "Repeat"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"entity_beam_additive:entity_alphablend": {
"+defines": [ "COLOR_BASED", "NO_TEXTURE" ],
"+states": [ "Blending", "DisableDepthWrite" ],
"blendSrc": "SourceAlpha",
"blendDst": "One"
},
"entity_dissolve_layer0:entity": {
"+defines": [ "TINTED_ALPHA_TEST" ],
"+states": [ "DisableColorWrite" ]
},
"entity_dissolve_layer1:entity": {
"depthFunc": "Equal"
},
"banner": {
"+defines": [ "ENABLE_FOG", "ENABLE_LIGHT" ],
"vertexShader": "shaders/banner.vertex",
"vrGeometryShader": "shaders/banner.geometry",
"fragmentShader": "shaders/banner.fragment",
"depthFunc": "LessEqual",
"+states": [ "Blending" ],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"banner_pole:banner": {
"+defines": [ "ENABLE_FOG", "ENABLE_LIGHT", "DISABLE_TINTING" ],
"+states": []
},
"agent:entity": {},
"armor:entity_alphatest": {},
"armor_leather:entity_alphatest_change_color": {},
"armor_enchanted:entity_alphatest_glint": {},
"armor_leather_enchanted:entity_alphatest_change_color_glint": {},
"armor_stand:entity_alphatest": {},
"bat:entity_alphatest": {},
"bed:entity_alphatest": {},
"blaze_head:entity_emissive": {},
"blaze_body:entity_emissive_alpha": {},
"boat:entity": {},
"chalkboard:entity": {},
"chest:entity": {},
"chicken:entity": {},
"chicken_legs:entity_alphatest": {},
"cow:entity": {},
"creeper:entity": {},
"dragon_head:entity_alphatest": {},
"elytra:entity_alphatest": {},
"enchanting_table_book:entity": {},
"ender_crystal:entity_alphatest": {},
"ender_dragon:entity_emissive_alpha_one_sided": {},
"enderman:entity": {},
"enderman_head:entity_emissive_alpha": {},
"enderman_scary_face:entity_emissive_alpha": {},
"enderman_invisible:entity_emissive_alpha": {
"defines": [ "USE_ONLY_EMISSIVE" ]
},
"enderman_head_invisible:entity_emissive_alpha": {
"defines": [ "USE_ONLY_EMISSIVE" ]
},
"enderman_scary_face_invisible:entity_emissive_alpha": {
"defines": [ "USE_ONLY_EMISSIVE" ]
},
"endermite:entity_alphatest": {},
"evoker:entity_alphatest": {},
"fang:entity_alphatest": {},
"ghast:entity_emissive_alpha": {},
"guardian:entity_alphatest": {},
"horse:entity_multitexture_alpha_test": {},
"horse_leather_armor:entity_multitexture_alpha_test_color_mask": {},
"horse_saddle:entity_alphatest": {},
"horse_hair:entity_alphatest": {},
"husk:entity_alphatest": {},
"husk_clothes:entity_alphatest": {},
"iron_golem:entity_alphatest": {},
"magma_cube:entity_emissive_alpha": {},
"leash_knot:entity": {},
"llama:entity_multitexture": {},
"llama_spit:entity": {},
"minecart:entity_alphatest": {},
"mob_head:entity_alphatest": {},
"mooshroom:entity": {},
"mooshroom_mushrooms:entity_alphatest": {},
"npc:entity_alphatest": {},
"ocelot:entity_alphatest": {},
"parrot:entity_alphatest": {},
"pig:entity": {},
"piston_arm:entity": {},
"player:entity": {},
"player_alphatest:entity_alphatest": {},
"polar_bear:entity": {},
"rabbit:entity": {},
"sheep:entity_change_color": {},
"shulker:entity_alphatest": {},
"shulker_box:entity_alphatest": {},
"shulker_bullet:entity_alphatest": {},
"sign:entity_static": {},
"silverfish:entity": {},
"silverfish_layers:entity_alphatest": {},
"skeleton:entity_alphatest": {},
"slime:entity_alphatest": {},
"slime_outer:entity": {
"+states": [ "Blending" ]
},
"snow_golem:entity": {},
"snow_golem_pumpkin:entity": {},
"spider:entity_emissive_alpha": {},
"spider_invisible:entity_emissive_alpha": {
"defines": [ "USE_ONLY_EMISSIVE" ]
},
"squid:entity": {},
"stray:entity_alphatest": {},
"stray_clothes:entity_alphatest": {},
"camera:entity": {},
"vex:entity_alphatest": {},
"villager:entity_alphatest": {},
"vindicator:entity_alphatest": {},
"witch:entity_alphatest": {},
"wither_boss:entity_alphatest": {},
"wither_boss_armor:charged_creeper": {},
"wolf:entity_change_color": {},
"zombie:entity_alphatest": {},
"zombie_villager:entity_alphatest": {}
}
}
@@ -0,0 +1,7 @@
[
{"path":"materials/fancy.material", "+defines":["FANCY"]},
{"path":"materials/entity.material", "+defines":["FANCY"]},
{"path":"materials/terrain.material", "+defines":["FANCY"]},
{"path":"materials/hologram.material"},
{"path":"materials/portal.material", "+defines":["FANCY"]}
]
@@ -0,0 +1,19 @@
{
"materials": {
"version": "1.0.0",
"clouds": {
"+states": [ "Blending", "DisableAlphaWrite" ],
"vertexShader": "shaders/cloud.vertex",
"vrGeometryShader": "shaders/cloud.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
}
}
}
@@ -0,0 +1,419 @@
{
"materials": {
"version": "1.0.0",
"holoscreen_monoscopic_quad": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"msaaSupport": "Both"
},
"holoscreen_level_quad": {
"+states": [ "DisableCulling", "DisableDepthWrite" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"msaaSupport": "Both"
},
"holo_hud_quad": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"msaaSupport": "Both"
},
"holoscreen_stereoscopic_quad": {
"+defines": [
"USE_STEREO_TEXTURE_ARRAY"
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"depthFunc": "LessEqual",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/hologram_uv_stereo.geometry",
"fragmentShader": "shaders/hologram_texture_stereo.fragment"
},
"hologram": {
"+defines": [
"ALPHA_TEST"
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"depthFunc": "LessEqual",
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/color_texture.fragment"
},
"hololens_LSRPlane": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"vertexFields": [
{ "field": "Position" }
]
},
"hololens_LSRPlaneTextured": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment"
},
"hololens_UICursor": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment"
},
"hololens_UICursor_ingame_pseudoshadow": {
"+states": [ "DisableDepthWrite", "Blending" ],
"vertexFields": [
{ "field": "Position" }
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"depthBias": 1000.0,
"slopeScaledDepthBias": 1.0,
"depthBiasOGL": 5.0,
"slopeScaledDepthBiasOGL": 5.0,
"msaaSupport": "Both",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment"
},
"hololens_UICursor_ingame_mainpart": {
"+states": [ "Blending" ],
"vertexFields": [
{ "field": "Position" }
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"depthBias": 2000,
"slopeScaledDepthBias": 2,
"depthBiasOGL": 10,
"slopeScaledDepthBiasOGL": 10,
"msaaSupport": "Both",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment"
},
"hologram_hit_effect": {
"+states": [
"DisableDepthTest",
"Blending"
],
"vertexFields": [
{ "field": "Position" }
],
"msaaSupport": "MSAA",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment"
},
"reality_frame_cutout": {
"+states": [ "Blending" ],
"+defines": [
"FORCE_DEPTH_ZERO"
],
"vertexFields": [
{ "field": "Position" }
],
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"msaaSupport": "Both"
},
"reality_frame_skyfill": {
"+states": [
"DisableDepthTest",
"Blending"
],
"vertexFields": [
{ "field": "Position" }
],
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"msaaSupport": "Both"
},
"living_room": {
"depthFunc": "LessEqual",
"+defines": [ "TEXEL_AA" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "TexelAA"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"msaaSupport": "MSAA"
},
"holo_coord_frame": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/color.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"msaaSupport": "MSAA"
},
"holo_hand_pointer": {
"+states": [ "DisableDepthWrite", "Blending" ],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
],
"vertexShader": "shaders/color.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"msaaSupport": "MSAA"
},
"holo_hand": {
"depthFunc": "LessEqual",
"+defines": [ "TEXEL_AA" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "TexelAA"
}
],
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"msaaSupport": "MSAA"
},
"windowsmr_holo_hand": {
"depthFunc": "LessEqual",
"+defines": [ "TEXEL_AA", "IGNORE_CURRENTCOLOR", "WINDOWSMR_MAGICALPHA" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "TexelAA"
}
],
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"msaaSupport": "MSAA"
},
"rift_mirror_texture": {
"+defines": [ "USE_STEREO_TEXTURE_ARRAY", "STEREO_LEFT_EYE_ONLY" ],
"+states": [ "DisableCulling", "DisableDepthWrite" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment"
},
"rift_mirror_logo:rift_mirror_texture": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ]
},
"rift_texture_copy_noalpha": {
"+states": [ "DisableCulling", "DisableDepthWrite" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/levelstage_copy_vr.fragment"
}
}
}
@@ -0,0 +1,53 @@
{
"materials": {
"version": "1.0.0",
"particles_base": {
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/color_texture.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both"
},
"particles_opaque:particles_base": {
"+defines": [ "ENABLE_FOG" ],
"+states": [ "DisableAlphaWrite" ]
},
"particles_alpha:particles_base": {
"+defines": [ "ALPHA_TEST", "ENABLE_FOG" ],
"+states": [ "DisableAlphaWrite" ]
},
"particles_blend:particles_base": {
"+defines": [ "ENABLE_FOG" ],
"+states": [
"Blending",
"DisableCulling",
"DisableDepthWrite"
]
},
"particles_effects:particles_alpha": {
"+defines": [ "EFFECTS_OFFSET" ],
"msaaSupport": "Both"
}
}
}
@@ -0,0 +1,62 @@
{
"materials": {
"version": "1.0.0",
"portal_base": {
"+defines": [ "ENABLE_FOG", "END_PORTAL" ],
"+states": [ "Blending" ],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV1" },
{ "field": "Color" },
{ "field": "UV0" }
],
"vertexShader": "shaders/end_portal.vertex",
"vrGeometryShader": "shaders/end_portal.geometry",
"fragmentShader": "shaders/end_portal.fragment",
"depthFunc": "LessEqual",
"blendSrc": "One",
"blendDst": "SourceAlpha",
"msaaSupport": "Both",
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "textures/entity/end_portal"
},
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/environment/end_portal_colors"
},
{
"textureIndex": 2,
"textureLocation": "Dynamic",
"textureName": "SeasonFoliage"
}
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point",
"textureWrap": "Repeat"
},
{
"samplerIndex": 1,
"textureFilter": "Point",
"textureWrap": "Repeat"
},
{
"textureIndex": 2,
"textureLocation": "Dynamic",
"textureName": "SeasonFoliage"
}
]
}
}
}
@@ -0,0 +1,128 @@
{
"postprocess": {
"states": [
"DisableDepthTest",
"DisableDepthWrite"
],
"msaaSupport": "Both",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"gaussian_dof:postprocess": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/depth_of_field.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
},
{
"samplerIndex": 1,
"textureFilter": "Point"
},
{
"samplerIndex": 2,
"textureFilter": "Point"
},
{
"samplerIndex": 3,
"textureFilter": "Point"
}
]
},
"gaussianblur_h:postprocess": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/blur.fragment",
"defines": [
"GAUSSIAN_H"
],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear",
"textureWrap": "Clamp"
}
]
},
"gaussianblur_v:postprocess": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/blur.fragment",
"defines": [
"GAUSSIAN_V"
],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear",
"textureWrap": "Clamp"
}
]
},
"blit:postprocess": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"depth_downsample:postprocess": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/depth_downsample.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point",
"textureWrap": "Clamp"
}
]
},
"resolve_depth:postprocess": {
"fragmentShader": "shaders/resolve_depth.fragment",
"renderTargetFormats": [
[]
]
}
}
@@ -0,0 +1,6 @@
[
{"path":"materials/sad.material"},
{"path":"materials/entity.material"},
{"path":"materials/terrain.material"},
{"path":"materials/portal.material"}
]
@@ -0,0 +1,19 @@
{
"materials": {
"version": "1.0.0",
"clouds": {
"+states": [ "DisableAlphaWrite" ],
"vertexShader": "shaders/cloud.vertex",
"vrGeometryShader": "shaders/cloud.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
}
}
}
@@ -0,0 +1,133 @@
{
"materials": {
"version": "1.0.0",
"shadow_front": {
"+states": [
"StencilWrite",
"DisableColorWrite",
"DisableDepthWrite",
"EnableStencilTest"
],
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"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,
"vertexFields": [
{ "field": "Position" }
],
"msaaSupport": "Both"
},
"shadow_back": {
"+states": [
"StencilWrite",
"DisableColorWrite",
"DisableDepthWrite",
"InvertCulling",
"EnableStencilTest"
],
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"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,
"vertexFields": [
{ "field": "Position" }
],
"msaaSupport": "Both"
},
"shadow_overlay": {
"+states": [
"DisableDepthTest",
"DisableCulling",
"Blending",
"EnableStencilTest"
],
"vertexShader": "shaders/color.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/shadow_stencil_overlay.fragment",
"blendSrc": "DestColor",
"blendDst": "Zero",
"frontFace": {
"stencilFunc": "Equal",
"stencilPass": "Replace"
},
"backFace": {
"stencilFunc": "Equal",
"stencilPass": "Replace"
},
"stencilRef": 1,
"stencilReadMask": 255,
"stencilWriteMask": 0,
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
],
"msaaSupport": "Both"
},
"water_hole": {
"+states": [
"DisableColorWrite"
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/flat_white.fragment",
"msaaSupport": "Both"
}
}
}
@@ -0,0 +1,161 @@
{
"sun_moon": {
"states": [
"DisableDepthWrite",
"DisableAlphaWrite",
"Blending"
],
"blendSrc": "SourceAlpha",
"blendDst": "One",
"vertexShader" : "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader" : "shaders/texture_ccolor.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both"
},
"sun_moon_below_water:sun_moon": {
"states": [ "EnableStencilTest" ],
"frontFace": {
"stencilFunc": "Equal"
},
"backFace": {
"stencilFunc": "Equal"
},
"stencilRef": 2,
"stencilReadMask": 255
},
"stars": {
"states": [
"DisableDepthWrite",
"DisableAlphaWrite",
"Blending"
],
"blendSrc": "OneMinusDestColor",
"blendDst": "One",
"vertexShader" : "shaders/color.vertex",
"vrGeometryShader" : "shaders/color.geometry",
"fragmentShader" : "shaders/stars.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
],
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both"
},
"cubemap": {
"states": [
"Blending"
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
},
"stars_below_water:stars": {
"states": [ "EnableStencilTest" ],
"frontFace": {
"stencilFunc": "Equal"
},
"backFace": {
"stencilFunc": "Equal"
},
"stencilRef": 2,
"stencilReadMask": 255
},
"skyplane": {
"states": [ "DisableDepthWrite", "DisableAlphaWrite" ],
"vertexShader" : "shaders/sky.vertex",
"vrGeometryShader" : "shaders/sky.geometry",
"fragmentShader" : "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
],
"msaaSupport": "Both"
},
"skyplane_below_water:skyplane": {
"states": [ "EnableStencilTest" ],
"frontFace": {
"stencilFunc": "NotEqual"
},
"backFace": {
"stencilFunc": "NotEqual"
},
"stencilRef": 2,
"stencilReadMask": 255
},
"end_sky": {
"states":[ "DisableDepthWrite", "DisableAlphaWrite" ],
"msaaSupport": "Both",
"vertexShader" : "shaders/uv_repeat.vertex" ,
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader" : "shaders/texture_ccolor.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"samplerStates": [
{ "samplerIndex": 0, "textureWrap": "Repeat" }
]
}
}
@@ -0,0 +1,269 @@
{
"materials": {
"version": "1.0.0",
"terrain_base": {
"vertexShader": "shaders/renderchunk.vertex",
"vrGeometryShader": "shaders/renderchunk.geometry",
"fragmentShader": "shaders/renderchunk.fragment",
"+defines": [ "LOW_PRECISION", "TEXEL_AA", "ATLAS_TEXTURE" ],
"+states": [ "DisableAlphaWrite" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
},
{
"samplerIndex": 3,
"textureFilter": "Point"
},
{
"samplerIndex": 4,
"textureFilter": "Point"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV1" },
{ "field": "Color" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "atlas.terrain"
},
{
"textureIndex": 1,
"textureLocation": "Dynamic",
"textureName": "Brightness"
},
{
"textureIndex": 2,
"textureLocation": "Dynamic",
"textureName": "SeasonFoliage"
}
],
"variants": [
{ "fog": { "+defines": [ "FOG" ] } },
{ "lit": { "+defines": [ "ALWAYS_LIT" ] } },
{ "underwater": { "+defines": [ "FOG" ] } },
{ "fog.underwater": { } },
{ "fading": { "+defines": [ "FOG", "ALLOW_FADE" ] } }
]
},
"terrain_opaque:terrain_base": {
"+variants": [
{ "underlava": { "+states": [ "DisableCulling" ] } }
]
},
"terrain_opaque_seasons:terrain_base": {
"+defines": [ "SEASONS" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
},
{
"samplerIndex": 2,
"textureFilter": "Point"
}
]
},
"terrain_blend:terrain_base": {
"+defines": [ "BLEND" ],
"+states": [
"Blending"
],
"+variants": [
{ "underwater": { "+states": [ "InvertCulling", "EnableStencilTest" ] } },
{ "fog.underwater": { } }
]
},
"terrain_blend_far:terrain_blend": {
"+defines": [ "FOG" ]
},
"terrain_blend_no_culling:terrain_blend": {
"+states": [
"DisableCulling"
]
},
"terrain_water:terrain_blend": {
"+defines": [ "NEAR_WATER" ],
"+states": [
"Blending"
],
// Fix z-fighting by offsetting water polygons by epsilon
"depthBias": 100.0,
"slopeScaledDepthBias": 0.1,
"depthBiasOGL": 0.5,
"slopeScaledDepthBiasOGL": 0.5,
"+variants": [
{ "underwater": { "+states": [ "InvertCulling", "EnableStencilTest" ] } },
{ "fog.underwater": { } }
]
},
"terrain_water_below_stencil": {
"vertexShader": "shaders/renderchunk.vertex",
"vrGeometryShader": "shaders/renderchunk.geometry",
"fragmentShader": "shaders/renderchunk.fragment",
"+states": [
"InvertCulling",
"DisableDepthWrite",
"EnableStencilTest",
"StencilWrite",
"DisableColorWrite"
],
"+defines": [ "BYPASS_PIXEL_SHADER" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "TexelAA"
},
{
"samplerIndex": 1,
"textureFilter": "Bilinear"
}
],
"msaaSupport": "Both",
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "atlas.terrain"
},
{
"textureIndex": 1,
"textureLocation": "Dynamic",
"textureName": "Brightness"
},
{
"textureIndex": 2,
"textureLocation": "Dynamic",
"textureName": "SeasonFoliage"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV1" },
{ "field": "Color" },
{ "field": "UV0" }
],
"frontFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"stencilRef": 2,
"stencilReadMask": 255,
"stencilWriteMask": 2
},
"terrain_doubleside:terrain_base": {
"+states": [ "DisableCulling" ]
},
"terrain_alpha_single_side:terrain_base": {
"+defines": [ "ALPHA_TEST" ],
"+states": [ "EnableAlphaToCoverage" ]
},
"terrain_alpha_seasons:terrain_base": {
"+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" ],
// z-fighting fix
"depthBias": 100.0,
"slopeScaledDepthBias": 0.1,
"depthBiasOGL": 0.5,
"slopeScaledDepthBiasOGL": 0.5
},
"terrain_far:terrain_base": {
"+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_inside_block": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"vertexFields": [
{ "field": "Position" }
],
"msaaSupport": "Both"
}
}
}
@@ -0,0 +1,459 @@
{
"materials": {
"version": "1.0.0",
"ui_base": {
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/color_texture.fragment",
"+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,
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
},
{
"samplerIndex": 1,
"textureFilter": "Point"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
]
},
"ui_texture_and_color:ui_base": {
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"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",
"COLOR_MULTIPLIER"
]
},
"ui_text:ui_texture_and_color": {
"fragmentShader": "shaders/text.fragment"
},
"ui_text_msdf:ui_text": {
"+defines": [ "MSDF" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"ui_text_smooth:ui_text": {
"+defines": [ "SMOOTH" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
]
},
"ui_fill_color:ui_base": {
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"vertexFields": [
{ "field": "Position" }
]
},
"ui_fill_stencil:ui_base": {
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"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,
"vertexFields": [
{ "field": "Position" }
]
},
"ui_fill_gradient:ui_base": {
"+states": [
"DisableDepthWrite"
],
"vertexShader": "shaders/color.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
]
},
"ui_grayscale:ui_base": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/color_grayscale.fragment",
"alphaDst": "DestColor",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
]
},
"ui_textured:ui_base": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
]
},
"ui_textured_and_glcolor:ui_base": {
"+states": [
"DisableDepthWrite"
],
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"alphaDst": "DestColor",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
]
},
"ui_textured_and_glcolor_sprite:ui_textured_and_glcolor": {
"alphaDst": "OneMinusSrcAlpha"
},
"ui_item:ui_base": {
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/color_texture.fragment",
"+defines": [ "ALPHA_TEST", "ENABLE_VERTEX_TINT_MASK", "ENABLE_CURRENT_ALPHA_MULTIPLY" ]
},
"ui_item_glint_stencil:ui_item": {
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"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",
"vrGeometryShader": "shaders/color_uv.geometry",
"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" ],
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "atlas.items"
},
{
"textureIndex": 1,
"textureLocation": "InUserPackage",
"textureName": "textures/misc/enchanted_item_glint"
}
]
},
"ui_invert_overlay:ui_base": {
"blendSrc": "OneMinusDestColor",
"blendDst": "OneMinusSrcColor",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/flat_white.fragment",
"vertexFields": [
{ "field": "Position" }
]
},
"ui_cubemap:ui_base": {
"vertexShader": "shaders/uv_time_rotate.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
]
},
"ui_crosshair:ui_invert_overlay": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
]
},
"animated_texture_blit": {
"+states": [
"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_flipbook.vertex",
"vrGeometryShader": "shaders/uv_blend.geometry",
"fragmentShader": "shaders/texture_blend.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"isAnimatedTexture": 1
},
"debug_texture:ui_base": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture.fragment",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"debug_array_texture:debug_texture": {
"defines": [ "ARRAY_TEXTURE_0" ]
},
"ui_mob_head:ui_item": {
"vertexShader": "shaders/entity.vertex",
"vrGeometryShader": "shaders/entity.geometry",
"fragmentShader": "shaders/entity.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"ui_dragon_head:ui_item": {
"vertexShader": "shaders/entity.vertex",
"vrGeometryShader": "shaders/entity.geometry",
"fragmentShader": "shaders/entity.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"ui_banner:ui_item": {
"vertexShader": "shaders/banner.vertex",
"vrGeometryShader": "shaders/banner.geometry",
"fragmentShader": "shaders/banner.fragment",
"depthFunc": "LessEqual",
"+states": [ "Blending" ],
"+defines": [ "ENABLE_LIGHT" ],
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"ui_banner_pole:ui_banner": {
"+defines": [ "DISABLE_TINTING", "ENABLE_LIGHT" ],
"+states": []
}
}
}
@@ -0,0 +1,380 @@
{
"materials": {
"version": "1.0.0",
"block_overlay": {
"+states": [
"Blending",
"DisableDepthWrite",
"DisableAlphaWrite",
"StencilWrite",
"EnableStencilTest"
],
"depthBias": 100.0,
"slopeScaledDepthBias": 15.0,
"depthBiasOGL": 100.0,
"slopeScaledDepthBiasOGL": 20.0,
"depthFunc": "LessEqual",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_cutout.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV1" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"frontFace": {
"stencilFunc": "NotEqual",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "NotEqual",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"stencilRef": 2,
"stencilReadMask": 2,
"stencilWriteMask": 2
},
"selection_overlay:block_overlay": {
"blendSrc": "DestColor",
"blendDst": "SourceColor",
"vertexShader": "shaders/uv_selection_overlay.vertex"
},
"selection_overlay_block_entity:selection_overlay": {
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"selection_overlay_level:selection_overlay": {
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
],
"msaaSupport": "Both"
},
"selection_overlay_alpha:selection_overlay_level": {
"vertexFields": [
{ "field": "Position" },
{ "field": "UV1" },
{ "field": "UV0" }
]
},
"selection_overlay_item:selection_overlay": {
},
"fullscreen_cube_overlay": {
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_ccolor.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both"
},
"fullscreen_cube_overlay_blend:fullscreen_cube_overlay": {
"+states": [ "Blending" ]
},
"fullscreen_cube_overlay_opaque:fullscreen_cube_overlay": {
"+states": [ "DisableCulling" ]
},
"selection_overlay_opaque:selection_overlay": {
"vertexShader": "shaders/selection_box.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"msaaSupport": "Both"
},
"selection_overlay_double_sided:selection_overlay": {
"+states": [
"DisableCulling"
]
},
"selection_box": {
"+defines": [ "LINE_STRIP" ],
"primitiveMode": "Line",
"depthFunc": "LessEqual",
"vertexShader": "shaders/selection_box.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"vertexFields": [
{ "field": "Position" }
],
"msaaSupport": "Both"
},
"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"
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
]
},
"cracks_overlay_tile_entity:cracks_overlay": {
"vertexShader": "shaders/uv_scale.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"+samplerStates": [
{
"samplerIndex": 0,
"textureWrap": "Repeat"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "Normal" },
{ "field": "UV0" }
]
},
"name_tag": {
"+states": [
"Blending"
],
"depthFunc": "Always",
"vertexShader": "shaders/position.vertex",
"vrGeometryShader": "shaders/position.geometry",
"fragmentShader": "shaders/current_color.fragment",
"vertexFields": [
{ "field": "Position" }
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both"
},
"name_tag_depth_tested:name_tag": {
"depthFunc": "LessEqual"
},
"sign_text": {
"+states": [
"Blending"
],
"+defines": [
"ALPHA_TEST",
"USE_LIGHTING"
],
"depthBias": 10.0,
"slopeScaledDepthBias": 2.0,
"depthBiasOGL": 10.0,
"slopeScaledDepthBiasOGL": 10.0,
"depthFunc": "LessEqual",
"vertexShader": "shaders/color_uv.vertex",
"vrGeometryShader": "shaders/color_uv.geometry",
"fragmentShader": "shaders/text.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
}
],
"msaaSupport": "Both"
},
"name_text_depth_tested:sign_text": {},
"precipitation": {
"+defines": [ "COMFORT_MODE" ],
"+states": [
"DisableCulling",
"DisableDepthWrite",
"Blending"
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "LessEqual",
"vertexShader": "shaders/rain_snow.vertex",
"vrGeometryShader": "shaders/rain_snow.geometry",
"fragmentShader": "shaders/rain_snow.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "UV0" }
],
"msaaSupport": "Both",
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Point"
},
{
"samplerIndex": 1,
"textureFilter": "Point"
},
{
"samplerIndex": 2,
"textureFilter": "Bilinear"
}
],
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "textures/environment/weather"
},
{
"textureIndex": 2,
"textureLocation": "Dynamic",
"textureName": "Brightness"
}
]
},
"rain:precipitation": {},
"snow:precipitation": {
"+defines": [ "SNOW" ],
"textures": [
{
"textureIndex": 0,
"textureLocation": "InUserPackage",
"textureName": "textures/environment/weather"
},
{
"textureIndex": 1,
"textureLocation": "InAppPackage",
"textureName": "DYNAMIC_WEATHER"
},
{
"textureIndex": 2,
"textureLocation": "Dynamic",
"textureName": "Brightness"
}
]
},
"plankton:precipitation": {
"+defines": [ "COMFORT_MODE", "FLIP_OCCLUSION", "NO_VARIETY" ]
},
"lightning": {
"+states": [
"DisableCulling",
"Blending"
],
"depthFunc": "LessEqual",
"blendSrc": "SourceAlpha",
"blendDst": "One",
"vertexShader": "shaders/color.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
],
"msaaSupport": "Both"
},
"overlay_quad": {
"+states": [ "DisableCulling", "DisableDepthWrite", "Blending" ],
"+samplerStates": [
{
"samplerIndex": 0,
"textureFilter": "Bilinear"
}
],
"vertexFields": [
{ "field": "Position" },
{ "field": "UV0" }
],
"blendSrc": "SourceAlpha",
"blendDst": "OneMinusSrcAlpha",
"depthFunc": "Always",
"vertexShader": "shaders/uv.vertex",
"vrGeometryShader": "shaders/uv.geometry",
"fragmentShader": "shaders/texture_raw_alphatest.fragment"
},
"overlay_quad_clear": {
"depthFunc": "Always",
"vertexShader": "shaders/simple.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" }
],
"msaaSupport": "Both"
},
"debug": {
"depthFunc": "LessEqual",
"vertexShader": "shaders/color.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" }
],
"msaaSupport": "Both"
},
"debug_line": {
"+states": [
"DisableCulling"
],
"depthFunc": "LessEqual",
"vertexShader": "shaders/color_line.vertex",
"vrGeometryShader": "shaders/color.geometry",
"fragmentShader": "shaders/color.fragment",
"vertexFields": [
{ "field": "Position" },
{ "field": "Color" },
{ "field": "Weights" }
],
"msaaSupport": "Both"
}
}
}