{ "name": "Placeholder", "profile": "BlinnPhong", "params": { "diffuseTexture": { "type": "Texture2D" }, "specularTexture": { "type": "Texture2D" }, "normalTexture": { "type": "Texture2D" }, "uvScale": { "type": "float", "default": "0.0f" }, "metallic": { "type": "float", "default": "0.0f" }, "subsurface": { "type": "float", "default": "0.0f" }, "roughness": { "type": "float", "default": "0.5f" }, "specularTint": { "type": "float", "default": "0.0f" }, "anisotropic": { "type": "float", "default": "0.0f" }, "sheen": { "type": "float", "default": "0.0f" }, "sheenTint": { "type": "float", "default": "0.5f" }, "clearCoat": { "type": "float", "default": "0.0f" }, "clearCoatGloss": { "type": "float", "default": "1.0f" }, "worldOffset": { "type": "float3", "default": "float3(0, 0, 0)" }, "textureSampler": { "type": "SamplerState" } }, "code": { "baseColor": [ "return diffuseTexture.Sample(textureSampler, input.texCoords[0] * uvScale).xyz;" ], "metallic": [ "return 0;" ], "normal": [ "return normalTexture.Sample(textureSampler, input.texCoords[0] * uvScale).xyz;" ], "specular": [ "return specularTexture.Sample(textureSampler, input.texCoords[0] * uvScale).x;" ], "roughness": [ "return roughness;" ], "specularTint": [ "return specularTint;" ], "anisotropic": [ "return anisotropic;" ], "sheen": [ "return sheen;" ], "sheenTint": [ "return sheenTint;" ], "clearCoat": [ "return clearCoat;" ], "clearCoatGloss": [ "return clearCoatGloss;" ], "worldOffset": [ "return worldOffset;" ] } }