Struggling with gltf and lighting

i tried your model, srgb works as expected, banding is gone. also implemented hdr bloom and compressed your file to a few hundred kb.

fullscreen: https://whnhyr.csb.app
code: bloom hdr workflow, high key (forked) - CodeSandbox

i used a tool that allows me to alter the gltf scene graph (gltfjsx), in vanilla you will have to traverse and stretch colors. refer to this thread EffectComposer with scene background - #3 by drcmda it explains how to use bloom selectively.

ps. these are not import paths:

import { OrbitControls } from './jsm/controls/OrbitControls.js';
import { GLTFLoader } from './jsm/loaders/GLTFLoader.js';
import { RGBELoader } from './jsm/loaders/RGBELoader.js';

it’s three/jsm/controls/OrbitControls etc

1 Like