Files
tinyusdz/tests/usda/triple-quoted-assetpath-001.usda
2022-09-06 01:35:46 +09:00

39 lines
1.0 KiB
Plaintext

#usda 1.0
(
defaultPrim = "teapot"
metersPerUnit = 0.01
timeCodesPerSecond = 24
upAxis = "Y"
)
def Xform "teapot" (
kind = "component"
)
{
def Scope "Looks"
{
def Material "mat"
{
def Shader "teapot_high_lambert1_Normal_1"
{
uniform token info:id = "UsdUVTexture"
float4 inputs:fallback = (0.5, 0.5, 0.5, 1)
# '@@@' is escaped with '\@@@'
asset inputs:file = @@@0/teapot_\\@@@n.png@@@
float2 inputs:st.connect = </teapot/Looks/pxrUsdPreviewSurface1SG/teapot_high_lambert1_Normal_1/TexCoordReader.outputs:result>
token inputs:wrapS = "repeat"
token inputs:wrapT = "repeat"
float3 outputs:rgb
def Shader "TexCoordReader"
{
uniform token info:id = "UsdPrimvarReader_float2"
token inputs:varname = "st"
float2 outputs:result
}
}
}
}
}