Class IBLGLEnvBaker

java.lang.Object
com.jme3.environment.baker.GenericEnvBaker
com.jme3.environment.baker.IBLGLEnvBaker
All Implemented Interfaces:
EnvBaker, IBLEnvBaker

public class IBLGLEnvBaker extends GenericEnvBaker implements IBLEnvBaker
Fully accelerated env baker for IBL that runs entirely on the GPU
  • Field Details

  • Constructor Details

    • IBLGLEnvBaker

      public IBLGLEnvBaker(RenderManager rm, AssetManager am, Image.Format format, Image.Format depthFormat, int env_size, int specular_size, int irradiance_size, int brtf_size)
      Create a new IBL env baker
      Parameters:
      rm - The render manager used to render the env scene
      am - The asset manager used to load the baking shaders
      format - The format of the color buffers
      depthFormat - The format of the depth buffers
      env_size - The size in pixels of the output environment cube map (eg. 1024)
      specular_size - The size in pixels of the output specular cube map (eg. 1024)
      irradiance_size - The size in pixels of the output irradiance cube map (eg. 512)
      brtf_size - The size in pixels of the output brtf map (eg. 512)
  • Method Details