even more colorizer tests

This commit is contained in:
Martin Aeschlimann
2016-04-11 16:03:25 +02:00
parent 34470d1810
commit 8509d4e47a
42 changed files with 27035 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Shader "Example/Diffuse Simple" {
SubShader {
Tags { "RenderType" = "Opaque" }
CGPROGRAM
#pragma surface surf Lambert
struct Input {
float4 color : COLOR;
};
void surf (Input IN, inout SurfaceOutput o) {
o.Albedo = 1;
}
ENDCG
}
Fallback "Diffuse"
}

View File

@@ -0,0 +1,563 @@
[
{
"c": "Shader",
"t": "support.class.shaderlab",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"Example/Diffuse Simple\"",
"t": "shaderlab.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": " {",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "SubShader",
"t": "support.class.shaderlab",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " {",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "Tags",
"t": "support.class.shaderlab",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " { ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"RenderType\"",
"t": "shaderlab.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": " = ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"Opaque\"",
"t": "shaderlab.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": " }",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "CGPROGRAM",
"t": "support.class.shaderlab",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " #pragma",
"t": "shaderlab.keyword.control",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
}
},
{
"c": " surface surf Lambert",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "struct",
"t": "shaderlab.storage.type",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type"
}
},
{
"c": " Input {",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "float4",
"t": "shaderlab.storage.type",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type"
}
},
{
"c": " color : ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "COLOR",
"t": "support.shaderlab.variable.input",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": ";",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " };",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "void",
"t": "shaderlab.storage.type",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "surf",
"t": "support.shaderlab.meta.function-call.function.any-method",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " (",
"t": "shaderlab.meta.function-call",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "Input IN, ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "inout",
"t": "shaderlab.storage.modifier",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "SurfaceOutput",
"t": "support.shaderlab.variable.structure",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " o) {",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " o.",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "Albedo",
"t": "support.shaderlab.variable.output",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " = ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "1",
"t": "shaderlab.constant.numeric",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric"
}
},
{
"c": ";",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " }",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "ENDCG",
"t": "support.class.shaderlab",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " }",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "Fallback",
"t": "support.shaderlab.variable",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": " ",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
},
{
"c": "\"Diffuse\"",
"t": "shaderlab.string.quoted.double",
"r": {
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
}
},
{
"c": " }",
"t": "",
"r": {
"dark_plus": ".vs-dark .token",
"light_plus": ".vs .token",
"dark_vs": ".vs-dark .token",
"light_vs": ".vs .token",
"hc_black": ".hc-black .token"
}
}
]