I am studying lights & shadows reading Babylon.js Documentation these days and was wondering if anybody thought of creating lighting/shadowing way to make object as realistic as possible.
I tried adding secondary/multiple light(s) in an attempt to make my object more realistic.
That’s a complex and open question
Direct lighting is not the only part of the equation. Surfacing, indirect lighting, … are also a big factor to image quality.
It’s hard to make good rendering with only a few lights and shadow. IMHO, IBL and HDRI can help improve quality a lot with minimal efforts. Using High-Contrast, Image-Based Lighting in Babylon.js | by Babylon.js | Medium
WOW, this is amazing! but perhaps not quite what I want.
I am sorry about not explaining what I want to do.
I am trying to let clients customize products so I have to render based on images they submit.
What I am trying is that I import an object then once the client adds images or textures(bump texture), I add them by/with mesh.diffuseTexture and mesh.bumpTexture.
I realized that bumpMap and positioning lights are the most important when it comes to make the object more realistic, but I was getting tired with manually positioning lights and checking how the object looks like. So I was trying to find out if there’s any better way.
I am also using an .env but without a light, the object goes all black once texture is added. I figured at least one light is required.