[ { "name": "ShaderTransparentChicagoMapFlags", "type": "bitfield", "fields": [ "unfiltered", "alpha replicate", "u clamped", "v clamped" ], "width": 16 }, { "name": "ShaderTransparentChicagoExtraFlags", "type": "bitfield", "fields": [ "don't fade active camouflage", "numeric countdown timer", "custom edition blending" ], "width": 32 }, { "name": "ShaderTransparentChicagoMap", "fields": [ { "name": "flags", "type": "ShaderTransparentChicagoMapFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 40 }, { "name": "color function", "type": "ShaderColorFunctionType" }, { "name": "alpha function", "type": "ShaderColorFunctionType" }, { "type": "pad", "size": 36 }, { "name": "map u scale", "type": "float" }, { "name": "map v scale", "type": "float" }, { "name": "map u offset", "type": "float" }, { "name": "map v offset", "type": "float" }, { "name": "map rotation", "type": "float" }, { "name": "mipmap bias", "minimum": 0.0, "maximum": 1.0, "type": "Fraction" }, { "name": "map", "type": "TagReference", "groups": [ "bitmap" ] }, { "type": "pad", "size": 40 }, { "name": "u animation source", "type": "FunctionOut" }, { "name": "u animation function", "type": "WaveFunction" }, { "name": "u animation period", "unit": "seconds", "type": "float", "default": 1.0 }, { "name": "u animation phase", "type": "float" }, { "name": "u animation scale", "unit": "world units", "type": "float", "default": 1.0 }, { "name": "v animation source", "type": "FunctionOut" }, { "name": "v animation function", "type": "WaveFunction" }, { "name": "v animation period", "unit": "seconds", "type": "float", "default": 1.0 }, { "name": "v animation phase", "type": "float" }, { "name": "v animation scale", "unit": "world units", "type": "float", "default": 1.0 }, { "name": "rotation animation source", "type": "FunctionOut" }, { "name": "rotation animation function", "type": "WaveFunction" }, { "name": "rotation animation period", "unit": "seconds", "type": "float", "default": 1.0 }, { "name": "rotation animation phase", "type": "float" }, { "name": "rotation animation scale", "unit": "degrees", "type": "float", "default": 360.0 }, { "name": "rotation animation center", "type": "Point2D" } ], "type": "struct", "title": "map", "size": 220 }, { "name": "ShaderTransparentChicago", "groups": [ { "name": "transparent chicago shader", "description": "Shader Transparent Chicago attributes", "first": "numeric counter limit" } ], "fields": [ { "name": "numeric counter limit", "type": "uint8" }, { "name": "shader transparent chicago flags", "type": "ShaderTransparentGenericFlags" }, { "name": "first map type", "type": "ShaderFirstMapType" }, { "name": "framebuffer blend function", "type": "FramebufferBlendFunction" }, { "name": "framebuffer fade mode", "type": "FramebufferFadeMode" }, { "name": "framebuffer fade source", "type": "FunctionOut" }, { "type": "pad", "size": 2 }, { "name": "lens flare spacing", "type": "float" }, { "name": "lens flare", "type": "TagReference", "groups": [ "lens_flare" ] }, { "name": "extra layers", "type": "Reflexive", "struct": "ShaderTransparentExtraLayer", "maximum": 4 }, { "name": "maps", "type": "Reflexive", "struct": "ShaderTransparentChicagoMap", "maximum": 4 }, { "name": "extra flags", "type": "ShaderTransparentChicagoExtraFlags" }, { "type": "pad", "size": 8 } ], "type": "struct", "inherits": "Shader", "size": 108, "group": "shader_transparent_chicago", "needs_preprocessed": true, "needs_postprocessed": true } ]