You need 2 files. Either mytextur.jpg & mytextur_specmap.jpg OR mytextur.jpg & mytextur_uvlmap.jpg (NB spelling, its "uvlmap")marchab wrote:Oh, I must say I'm a bit confused now as to how to name the material files.
Do we need 2 or 3 files; mytextur.jpg, mytextur_ulvmap.jpg, mytextur_specmap.jpg?
The first form gives you just control of the amount of reflection.
The second form gives you control of surface normal, amount of reflection and Fresnel.
OK, long-ish answer coming up..marchab wrote:I am surprised to see that the skybox reflects alright but not the objects of the model.
The glass on top of the base box, which is the same as the one on the front side, does not reflect the stone podium on it.
I must be missing something, no?
If LightUp was a full raytracer it would trace the rays off every surface to find out what was reflected. However, this is slow. To get around this, LightUp caches what is visible at key points around the your model and when it needs to know what's reflected at a point on a surface it queries the nearest cache to get an approximation of the reflection.
Some important things flow from this.
First, while the reflections give a good sense that a surface is shiny and what its reflecting, the reflections you get will generally not be exact. If you want exact reflections, use a raytracer and wait 10 minutes a frame.
Second, LightUp has to find the best cache to use. For groups and component instances, it does this by finding the closest IrrCache object you've placed in the scene, if there are none it uses the skybox. For 'free geometry' not in any group or component instance it always uses the skybox as a cache for reflections.
A common technique for using reflections in LightUp, is to embed a IrrCache at the center of a group/component so that it will cache the surroundings and give a reasonable stab at rendering the reflected environment.
So in answer to your question, you have some 'free geometry' and LightUp is simply using the skybox as a cache. If you put the geometry in a group and add a IrrCache you'll get something that shows the stone podium however your results will depend on how you group things and place IrrCaches.
The broad message is that reflections in LightUp are meant to give a sense of materials in the model and not some light simulation.
Hope that helps,