{ "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" }, "roughness": { "type": "float", "default": "0.5f" }, "sheen": { "type": "float", "default": "0.0f" }, "worldOffset": { "type": "float3", "default": "float3(0, 0, 0)" }, "textureSampler": { "type": "SamplerState" } }, "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 } } ] }