Skip to content

Commit

Permalink
Sky: issue #1414 is solved
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Oct 6, 2023
1 parent ed7f1ce commit baf2c7b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions MavLibrary/src/main/java/com/jayfella/jme/vehicle/Sky.java
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,9 @@ final protected void build(Spatial cgmRoot, LightProbe probe) {

/**
* Generate a sky geometry from an equirectangular texture asset. This
* method has a couple advantages over
* com.jme3.util.SkyFactory.createSky(AssetManager, Texture, EnvMapType):
* <ul>
* <li>It adds fewer triangles to the scene: 32 instead of 160.</li>
* <li>It uses a custom J3MD to avoid JME issue #1414.</li>
* </ul>
* method is superior to com.jme3.util.SkyFactory.createSky(AssetManager,
* Texture, EnvMapType) because it adds fewer triangles to the scene: 32
* instead of 160.
*
* @param assetManager for loading assets (not null)
* @param textureAssetPath the path to the texture asset (not null, not
Expand Down

0 comments on commit baf2c7b

Please sign in to comment.