vpenades / SharpGLTF

glTF reader and writer for .NET Standard
MIT License
467 stars 75 forks source link

Create a simple plane with png #89

Closed chocoboyx closed 3 years ago

chocoboyx commented 3 years ago

Hi, I want to create a simple scene with just a quadrangle plane and an image(maybe .png) showed on it. I think I should use MaterialBuilder(), but now it not work. How should I modify further to make it work. Thank you.

vpenades commented 3 years ago

You have an example here:

https://github.com/vpenades/SharpGLTF/blob/master/examples/Example1/Program.cs