浏览代码

walkaround use fast shadow for debug (remove this commit before pr!!!)

/main
xingwei.zhu 6 年前
当前提交
d48b30e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/ui/painting/shadow_utils.cs

2
Runtime/ui/painting/shadow_utils.cs


namespace Unity.UIWidgets.ui {
static class ShadowUtils {
public static bool kUseFastShadow = false;
public static bool kUseFastShadow = true;
public const float kAmbientHeightFactor = 1.0f / 128.0f;
public const float kAmbientGeomFactor = 64.0f;

正在加载...
取消
保存