stride3d/stride

LOD: Add a LOD script

Open

#39 创建于 2018年8月4日

在 GitHub 查看
 (1 评论) (6 反应) (0 负责人)C# (6,001 star) (886 fork)batch import
area-Graphicsenhancementgood first issue

描述

Idea is to allow users to have LOD with a small custom script, while a better system is being designed. Starting point for such a script: https://github.com/xenko3d/xenko/issues/37#issuecomment-410456584

It could either be an asset template or a component in the Engine class (first option is maybe better so that it is not hardcoded in engine and user can customize/extend it).

Probably need to adjust how to find current camera, and ideally gamestudio should automatically fill the ModelComponent to the one contained in the Entity this script is added to.

贡献者指南