Hi Guys,
When I’m rendering models in JME they look totally different in color comparing to the originals rendered in sketchfab.com (see below sample video).
I guess it has something to do with lights but I’m not sure what needs to be done. I want to achieve the same results or close enough.
Light probes are generated from an environment. There’s one in JME test data called defaultprobe or you can generate one yourself using LightProbeFactory.
I’m on my phone and I can’t provide code because my screen is cracked and it randomly goes nuts. Not to mention the discourse editor being terrible on mobile.
You can find some prebuilt default light probes here:
I find that there is a special juggling that has to happen for a general scene… but it could be just lore I’ve picked up. I don’t know if it’s the only way but it’s the one that I use:
…with my code you can get PBR ambient light even for stuff added directly to the root node. Convenient when your scene code is stretched across app states.
It’s OK. I just give a suggestion. It’s like making models should be done in modeling tools instead of using code. It doesn’t matter if you really like to use code for all processes. I’m just making a suggestion.
I think he got it from sketchfab that way. The original was strange, too, and I assume he didn’t make it but just downloaded it. Could be wrong, though.
Yes. Downloaded and used it as is. BTW I think the model itself doesn’t appear like the original some parts of it are in the wrong place but this is for another thread