phr00t / FocusEngine

Focus Game Engine. This is Stride/Xenko fast-tracked for Phr00t's Software games. Improvements over the original Focus on Vulkan support, PC platforms, VR, performance & ease. Cherry-picks commits from other forks as needed.
MIT License
98 stars 11 forks source link

Add UI bounding box for performance #91

Closed phr00t closed 5 years ago

phr00t commented 5 years ago

Currently UI doesn't seem to have any bounding box. See sources\engine\Xenko.UI\Rendering\UI\UIRenderProcessor.cs:40 for the TODO

phr00t commented 5 years ago

Done with https://github.com/phr00t/xenko/commit/3064c57eeda64d82727f3ccaca0fd3a150396fd1

However, does this not take world scale into consideration?

phr00t commented 5 years ago

Fixed world scale: https://github.com/phr00t/xenko/commit/fa4fd72ecb11877479541877cb6595c120ea164e

Done.