cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Broken rendering and GUI when there are more than 8 light sources

Broken rendering and GUI when there are more than 8 light sources

I noticed that if there are more than 8 light sources in the model, visual rendering is not correct. What's more important, FlexSim user interface doesn't work correctly after the 9th light source is added.

This is how you can reproduce it: set ambient light to black and delete all light sources but the first one, set it to black, then add 8 more light sources (which will be copies of the first one). As soon as the 9th light source is added, you will see wrong colors in the Perspective view window.

User interfaces breaks in a different way if I add point light source or parallel light sources, but it looks like some kind of memory corruption issue.

Applies to: FlexSim 19.1.0 and earlier versions.

1 Comment
philboboADSK
Autodesk

FlexSim's default shaders are limited to 8 lights. That is by design.

The erroneous rendering when you add a 9th light is a bug; it should be ignoring lights past the 8th.

I will update the View Settings documentation to explain this limitation.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea