Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
b08a5f5b
T
three.js
项目概览
Ablesons
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
b08a5f5b
编写于
3月 25, 2021
作者:
M
Michael Herzog
提交者:
GitHub
3月 25, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
WebGLRenderer: Remove morph target properties. (#21522)
上级
e9bdf760
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
1 addition
and
33 deletion
+1
-33
docs/api/en/renderers/WebGLRenderer.html
docs/api/en/renderers/WebGLRenderer.html
+0
-12
docs/api/zh/renderers/WebGLRenderer.html
docs/api/zh/renderers/WebGLRenderer.html
+0
-12
src/renderers/WebGLRenderer.js
src/renderers/WebGLRenderer.js
+0
-5
src/renderers/webgl/WebGLPrograms.js
src/renderers/webgl/WebGLPrograms.js
+1
-4
未找到文件。
docs/api/en/renderers/WebGLRenderer.html
浏览文件 @
b08a5f5b
...
...
@@ -205,18 +205,6 @@
<h3>
[property:Boolean localClippingEnabled]
</h3>
<p>
Defines whether the renderer respects object-level clipping planes. Default is *false*.
</p>
<h3>
[property:Integer maxMorphTargets]
</h3>
<p>
Default is 8. The maximum number of MorphTargets allowed in a shader.
Keep in mind that the standard materials only allow 8 MorphTargets.
</p>
<h3>
[property:Integer maxMorphNormals]
</h3>
<p>
Default is 4. The maximum number of MorphNormals allowed in a shader.
Keep in mind that the standard materials only allow 4 MorphNormals.
</p>
<h3>
[property:Boolean physicallyCorrectLights]
</h3>
<p>
Whether to use physically correct lighting mode. Default is *false*.
...
...
docs/api/zh/renderers/WebGLRenderer.html
浏览文件 @
b08a5f5b
...
...
@@ -184,18 +184,6 @@
<h3>
[property:Boolean localClippingEnabled]
</h3>
<p>
定义渲染器是否考虑对象级剪切平面。 默认为*false*.
</p>
<h3>
[property:Integer maxMorphTargets]
</h3>
<p>
默认是8。 一个着色器中允许的最大MorphTargets数。
切记标准材质只允许8个MorphTargets。
</p>
<h3>
[property:Integer maxMorphNormals]
</h3>
<p>
默认是4。 色器中允许的最大MorphNormal数。
切记标准材质只允许4个MorphNormal。
</p>
<h3>
[property:Boolean physicallyCorrectLights]
</h3>
<p>
是否使用物理上正确的光照模式。 默认是*false*。
...
...
src/renderers/WebGLRenderer.js
浏览文件 @
b08a5f5b
...
...
@@ -117,11 +117,6 @@ function WebGLRenderer( parameters ) {
this
.
toneMapping
=
NoToneMapping
;
this
.
toneMappingExposure
=
1.0
;
// morphs
this
.
maxMorphTargets
=
8
;
this
.
maxMorphNormals
=
4
;
// internal properties
const
_this
=
this
;
...
...
src/renderers/webgl/WebGLPrograms.js
浏览文件 @
b08a5f5b
...
...
@@ -40,8 +40,7 @@ function WebGLPrograms( renderer, cubemaps, extensions, capabilities, bindingSta
'
roughnessMap
'
,
'
metalnessMap
'
,
'
gradientMap
'
,
'
alphaMap
'
,
'
combine
'
,
'
vertexColors
'
,
'
vertexTangents
'
,
'
vertexUvs
'
,
'
uvsVertexOnly
'
,
'
fog
'
,
'
useFog
'
,
'
fogExp2
'
,
'
flatShading
'
,
'
sizeAttenuation
'
,
'
logarithmicDepthBuffer
'
,
'
skinning
'
,
'
maxBones
'
,
'
useVertexTexture
'
,
'
morphTargets
'
,
'
morphNormals
'
,
'
maxMorphTargets
'
,
'
maxMorphNormals
'
,
'
premultipliedAlpha
'
,
'
maxBones
'
,
'
useVertexTexture
'
,
'
morphTargets
'
,
'
morphNormals
'
,
'
premultipliedAlpha
'
,
'
numDirLights
'
,
'
numPointLights
'
,
'
numSpotLights
'
,
'
numHemiLights
'
,
'
numRectAreaLights
'
,
'
numDirLightShadows
'
,
'
numPointLightShadows
'
,
'
numSpotLightShadows
'
,
'
shadowMapEnabled
'
,
'
shadowMapType
'
,
'
toneMapping
'
,
'
physicallyCorrectLights
'
,
...
...
@@ -227,8 +226,6 @@ function WebGLPrograms( renderer, cubemaps, extensions, capabilities, bindingSta
morphTargets
:
material
.
morphTargets
,
morphNormals
:
material
.
morphNormals
,
maxMorphTargets
:
renderer
.
maxMorphTargets
,
maxMorphNormals
:
renderer
.
maxMorphNormals
,
numDirLights
:
lights
.
directional
.
length
,
numPointLights
:
lights
.
point
.
length
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录