Fydar / AssetIcons

The public issue tracker and documentation for AssetIcons
https://fydar.dev/portfolio/asseticons
7 stars 0 forks source link

Rendered Prefabs use the same Skybox as current scene #11

Open Fydar opened 5 years ago

Fydar commented 5 years ago

The Skybox from the currently open scene is used to light the prefabs.

Rendering of prefabs is performed in a temporary scene; it should be possible to set up the lighting for this temporary scene in order to make the lighting consistent.

In the demo project, I haven't found this to be an issue. There are some circumstances where I would prefer this, however, if this is a feature then it should be optional as it could be distracting in many other projects.

Fydar commented 4 years ago

I found the behaviour of this to be very inconsistent between different versions of Unity.

It should be possible to control the lighting of the preview scene in newer versions of Unity; however, I don't know how I would approach exposing these lighting settings to the end-user.

It might be incredibly verbose describing it in the AssetIconAttribute.