16 lines
297 B
Plaintext
16 lines
297 B
Plaintext
(program
|
|
(meta
|
|
[(:= name LitBasic)
|
|
(:= category Scene)])
|
|
|
|
(properties
|
|
[(:= color float4)])
|
|
|
|
(fun vertex vs_main -> float3 (@position)
|
|
[(:= pos float3 (@position))
|
|
(:= uv float2 (@uv))]
|
|
(return pos))
|
|
|
|
(fun pixel ps_main -> float4 (@target0)
|
|
[]
|
|
(return properties.color))) |