SS3D
SS3D copied to clipboard
Improve Item Icon Rendering
Summary
Currently, we have a camera where items are rendered and transformed into images. Everything is rendered on Start()
Goal
Make sure items are rendered properly and have an easily identifiable icon.
Document
Currently, there are two main problems:
- Item's materials render weirdly, in the case of glass and emission they are either invisible or not rendered as wanted. Solution (maybe): copy the post effects from the main camera to this new camera, if that doesn't work, we have to find a way to make the materials all the same. 2, Item's bounds make the camera render it in a weird position/angle, you can see that with the esword and the welder (both caused by the bound of the whole object, in the case of the esword, when it is off, it's bounds are the same as if it was on, while it is not that big of a problem its a problem, but with the welder, we have a particle system on it, so the bounds are pretty big. Solution (maybe): Two offset variables for angle/position or another way to measure the bounds.
Related to #591 & #535
Item's materials render weirdly, in the case of glass and emission they are either invisible or not rendered as wanted.
This has now been updated in #861. Emission is no longer invisible and looks good now. And although glass no longer renders with complete ugliness, it is no longer transparent. The glass should be updated still at some point.