Restored the DemoTexture screenshot to approximately its original perspective in the new layout.
class DemoTextures : ITest
{
- Material exampleMaterial = Default.Material.Copy();
+ Material exampleMaterial = Material.Default.Copy();
Mesh quad = Mesh.GeneratePlane(new Vec2(.4f,.4f), -Vec3.Forward, Vec3.Up);
Matrix descPose = Matrix.TR (-0.5f, 0, -0.5f, Quat.LookDir(1,0,1));
@@ -81,7 +81,7 @@ class DemoTextures : ITest
public void Update()
{
- Tests.Screenshot("ProceduralTexture.jpg", 600, 600, new Vec3(0, 0, -.25f), new Vec3(0, 0, -1));
+ Tests.Screenshot("ProceduralTexture.jpg", 600, 600, new Vec3(0.32f, 0, -0.32f), new Vec3(0.5f, 0, -0.5f));
quad.Draw(exampleMaterial, Matrix.TR(0.5f, 0, -0.5f, Quat.LookDir(1, 0, -1)));
