Files
Seele/res/shaders/Placeholder.asset
T

58 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-06-02 11:46:18 +02:00
{
"name": "Placeholder",
"profile": "BlinnPhong",
"params": {
"diffuseTexture": {
"type": "Texture2D"
},
2021-10-15 23:12:29 +02:00
"specularTexture": {
2020-06-02 11:46:18 +02:00
"type": "Texture2D"
},
2021-10-15 23:12:29 +02:00
"normalTexture": {
2020-06-02 11:46:18 +02:00
"type": "Texture2D"
},
"uvScale": {
"type": "float",
"default": "0.0f"
},
"metallic": {
"type": "float",
"default": "0.0f"
},
"roughness": {
"type": "float",
"default": "0.5f"
},
"sheen": {
"type": "float",
"default": "0.0f"
},
2021-10-15 23:12:29 +02:00
"worldOffset": {
"type": "float3",
"default": "float3(0, 0, 0)"
2020-06-02 11:46:18 +02:00
},
"textureSampler": {
"type": "SamplerState"
}
},
2023-02-24 22:09:07 +01:00
"code": [
{
"exp": "Sample",
"texture": "diffuseTexture",
"sampler": "textureSampler",
"coords": "input.texCoords[0]"
},
{
"exp": "Swizzle",
"target": 0,
"comp": [0, 1, 2]
},
{
"exp": "BRDF",
"profile": "BlinnPhong",
"values": {
"baseColor": 1
}
}
]
2020-06-02 11:46:18 +02:00
}