Problem with DirectionalShadowLight!!

Anything libgdx related goes here!

Problem with DirectionalShadowLight!!

Postby jakesons » Mon Sep 09, 2019 5:43 pm

To demonstrate my problem I use ShadowMappingTest.

This test has model with box and sphere:
Code: Select all
  ModelBuilder modelBuilder = new ModelBuilder();
      MeshPartBuilder mpb = modelBuilder.part("parts", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.ColorUnpacked,
         new Material(ColorAttribute.createDiffuse(Color.WHITE)));
      mpb.setColor(1f, 1f, 1f, 1f);, -1.5f, 0, 10, 1, 10);
      mpb.setColor(1f, 0f, 1f, 1f);
      mpb.sphere(2f, 2f, 2f, 10, 10);
      model = modelBuilder.end();
      instance = new ModelInstance(model);
Posts: 1
Joined: Mon Sep 09, 2019 5:37 pm

Return to Libgdx

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 1 guest