VulkanShader_1.21.10-0.0.4-alpha.jar
Download file
{
"vertex": "terrain_water",
"fragment": "terrain_water",
"samplers": [
{ "name": "Sampler0" },
{ "name": "Sampler3" },
{ "name": "Sampler4", "layout": "depth" },
{ "name": "Sampler2" },
{ "name": "Sampler5", "layout": "depth" }
],
"UBOs": [
{ "type": "vertex", "binding": 0, "fields": [
{ "name": "MVP", "type": "matrix4x4", "count": 16, "values": [ 1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1 ] },
{ "name": "Time", "type": "float", "count": 1, "values": [ 0.0 ] },
{ "name": "CamPos", "type": "float", "count": 3, "values": [ 0.0, 0.0, 0.0 ] }
] },
{ "type": "fragment", "binding": 1, "fields": [
{ "name": "FogColor", "type": "float", "count": 4, "values": [ 0,0,0,0 ] },
{ "name": "FogEnvironmentalStart", "type": "float", "count": 1, "values": [ 0.0 ] },
{ "name": "FogEnvironmentalEnd", "type": "float", "count": 1, "values": [ 1.0 ] },
{ "name": "FogRenderDistanceStart", "type": "float", "count": 1, "values": [ 1.0 ] },
{ "name": "FogRenderDistanceEnd", "type": "float", "count": 1, "values": [ 1.0 ] },
{ "name": "FogSkyEnd", "type": "float", "count": 1, "values": [ 1.0 ] },
{ "name": "FogCloudsEnd", "type": "float", "count": 1, "values": [ 1.0 ] },
{ "name": "AlphaCutout", "type": "float", "count": 1, "values": [ 0.0 ] },
{ "name": "Time", "type": "float", "count": 1, "values": [ 0.0 ] },
{ "name": "Light0_Direction", "type": "float", "count": 4, "values": [ 1.0, 1.0, 1.0, 0.0 ] },
{ "name": "ModelViewMat", "type": "matrix4x4", "count": 16, "values": [ 1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1 ] },
{ "name": "ProjMat", "type": "matrix4x4", "count": 16, "values": [ 1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1 ] },
{ "name": "ScreenSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ] },
{ "name": "LightSpaceMat", "type": "matrix4x4", "count": 16, "values": [ 1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1 ] }
] }
],
"PushConstants": [
{ "name": "ModelOffset", "type": "float", "count": 3, "values": [ 0.0, 0.0, 0.0 ] }
]
}
Download file