// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

shader Sprite3DBase : SpriteBase
{
    stage float SliceCoordinate;  

    override stage float4 Shading()
    {
        return Texture3D0.Sample(Sampler, float3(streams.TexCoord, SliceCoordinate));
    }
};
