public void setSrgb(boolean srgb) {
        this.srgb = srgb;
    }
Specifies that the color values stored in this framebuffer are in SRGB
format.

The FrameBuffer must have an SRGB texture attached.

The Renderer must expose the {@link Caps#Srgb sRGB pipeline} capability
for this option to take any effect.

Rendering operations performed on this framebuffer shall undergo a linear
-&gt; sRGB color space conversion when this flag is enabled. If
{@link com.jme3.material.RenderState#getBlendMode() blending} is enabled, it will be
performed in linear space by first decoding the stored sRGB pixel values
into linear, combining with the shader result, and then converted back to
sRGB upon being written into the framebuffer.

@param srgb If the framebuffer color values should be stored in sRGB
color space.

@throws IllegalStateException If the texture attached to this framebuffer
is not sRGB.
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java