stride3d/stride

LOD: Add a LOD script

开放

#39 创建于 2018年8月4日

 (1 条评论) (6 个反应) (0 位负责人)C# (886 个派生)batch import
area-Graphicsenhancementgood first issue

仓库指标

星标
 (6,001 个星标)
PR 合并指标
 (平均合并 10天 11小时) (30 天内合并 22 个 PR)

描述

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.

贡献者指南