예제 #1
0
        protected override void Reorient(Float2 position, Float2 dimension)
        {
            base.Reorient(position, dimension);
            Vec2 resolution = dimension.As();

            borderRegularShader.SetUniform("resolution", resolution);
            borderTextureShader.SetUniform("resolution", resolution);
        }