Skip to content

Commit

Permalink
update sharpgltf
Browse files Browse the repository at this point in the history
  • Loading branch information
bertt committed Feb 8, 2024
1 parent a141b1f commit b9b8526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/triangulator.tests/GltfCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public static void CreateGltf(PolyhedralSurface triangulatedGeometry, string out
// convert to glTF to be able to inspect the result...
var material1 = new MaterialBuilder()
.WithDoubleSide(true)
.WithSpecularGlossinessShader()
.WithChannelParam(KnownChannel.SpecularGlossiness, new Vector4(0.7f, 0, 0f, 1.0f))
.WithMetallicRoughnessShader()
.WithChannelParam(KnownChannel.BaseColor, KnownProperty.RGBA, new Vector4(0.7f, 0, 0f, 1.0f))
.WithEmissive(new Vector3(0.2f, 0.3f, 0.1f));

var mesh = new MeshBuilder<VERTEX>("mesh");
Expand Down
2 changes: 1 addition & 1 deletion src/triangulator.tests/triangulator.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />

<PackageReference Include="SharpGLTF.Toolkit" Version="1.0.0-alpha0030" />
<PackageReference Include="SharpGLTF.Toolkit" Version="1.0.0-alpha0031" />
<PackageReference Include="Wkx" Version="0.5.1" />
</ItemGroup>

Expand Down

0 comments on commit b9b8526

Please sign in to comment.