{
  "blend": {
    "func": "add",
    "srcrgb": "srcalpha",
    "dstrgb": "1-srcalpha"
  },
  "vertex": "blit",
  "fragment": "pmweather:clouds",
  "attributes": ["Position"],
  "samplers": [
    {"name": "DiffuseSampler"},
    {"name": "DepthSampler"},
    {"name": "NoiseSampler"},
    {"name": "NoiseSamplerX"},
    {"name": "NoiseSamplerY"},
    {"name": "NoiseSamplerZ"}
  ],
  "uniforms": [
    {"name": "stormCount", "type": "int", "count": 1, "values": [0]},
    {"name": "lightningCount", "type": "int", "count": 1, "values": [0]},
    {"name": "quality", "type": "int", "count": 1, "values": [2]},
    {"name": "maxSteps", "type": "int", "count": 1, "values": [100]},
    {"name": "stepSize", "type": "float", "count": 1, "values": [0.1]},
    {"name": "rainStrength", "type": "float", "count": 1, "values": [1.0]},
    {"name": "nearPlane", "type": "float", "count": 1, "values": [0.05]},
    {"name": "farPlane", "type": "float", "count": 1, "values": [256]},
    {"name": "renderDistance", "type": "float", "count": 1, "values": [8000]},
    {"name": "time", "type": "float", "count": 1, "values": [0.1]},
    {"name": "worldTime", "type": "float", "count": 1, "values": [0.1]},
    {"name": "layer0height", "type": "float", "count": 1, "values": [0.1]},
    {"name": "layerCheight", "type": "float", "count": 1, "values": [0.1]},
    {"name": "rain", "type": "float", "count": 1, "values": [0.1]},
    {"name": "snow", "type": "float", "count": 1, "values": [0.1]},
    {"name": "overcastPerc", "type": "float", "count": 1, "values": [0]},
    {"name": "stormSize", "type": "float", "count": 1, "values": [0.1]},
    {"name": "lightIntensity", "type": "float", "count": 1, "values": [0.1]},
    {"name": "fogStart", "type": "float", "count": 1, "values": [0.1]},
    {"name": "downsample", "type": "float", "count": 1, "values": [0.1]},
    {"name": "fogEnd", "type": "float", "count": 1, "values": [0.1]},
    {"name": "simpleLighting", "type": "float", "count": 1, "values": [0]},
    {"name": "pos", "type": "float", "count": 3, "values": [0.0, 0.0, 0.0]},
    {"name": "sunDir", "type": "float", "count": 3, "values": [0.0, 0.0, 0.0]},
    {"name": "lightingColor", "type": "float", "count": 3, "values": [1.0, 1.0, 1.0]},
    {"name": "skyColor", "type": "float", "count": 3, "values": [1.0, 1.0, 1.0]},
    {"name": "scroll", "type": "float", "count": 2, "values": [0.0, 0.0]},
    {"name": "lightningStrikes", "type": "float", "count": 192, "values": []},
    {"name": "lightningBrightness", "type": "float", "count": 64, "values": []},
    {"name": "stormPositions", "type": "float", "count": 48, "values": []},
    {"name": "stormVelocities", "type": "float", "count": 32, "values": []},
    {"name": "stormStages", "type": "float", "count": 16, "values": []},
    {"name": "visualOnlys", "type": "float", "count": 16, "values": []},
    {"name": "tornadoShapes", "type": "float", "count": 16, "values": []},
    {"name": "stormEnergies", "type": "float", "count": 16, "values": []},
    {"name": "stormOcclusions", "type": "float", "count": 16, "values": []},
    {"name": "stormTypes", "type": "float", "count": 16, "values": []},
    {"name": "tornadoWindspeeds", "type": "float", "count": 16, "values": []},
    {"name": "tornadoWidths", "type": "float", "count": 16, "values": []},
    {"name": "tornadoTouchdownSpeeds", "type": "float", "count": 16, "values": []},
    {"name": "stormSpins", "type": "float", "count": 16, "values": []},

    {"name": "viewmat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ]},
    {"name": "vmat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ]},
    {"name": "proj", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ]},

    {"name": "ProjMat", "type": "matrix4x4", "count": 16, "values": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ]},
    {"name": "OutSize", "type": "float", "count": 2, "values": [ 1.0, 1.0 ]},
    { "name": "_FOV", "type": "float", "count": 1, "values": [ 70.0 ] }
  ]
}