Skip to content

Commit a84f4c4

Browse files
authored
Merge pull request #17570 from Mugen87/dev38
Material: Move .lights property to ShaderMaterial.
2 parents 404125a + ce8e2c7 commit a84f4c4

22 files changed

+13
-67
lines changed

docs/api/en/materials/LineBasicMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ <h3>[property:Boolean isLineBasicMaterial]</h3>
6767
You should not change this, as it used internally for optimisation.
6868
</p>
6969

70-
<h3>[property:Boolean lights]</h3>
71-
<p>Whether the material is affected by lights. Default is *false*.</p>
72-
7370
<h3>[property:Float linewidth]</h3>
7471
<p>
7572
Controls line thickness. Default is *1*.<br /><br />

docs/api/en/materials/LineDashedMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ <h3>[property:Boolean isLineDashedMaterial]</h3>
6262
You should not change this, as it used internally for optimisation.
6363
</p>
6464

65-
<h3>[property:Boolean lights]</h3>
66-
<p>Whether the material is affected by lights. Default is *false*.</p>
67-
6865
<h3>[property:Float linewidth]</h3>
6966
<p>
7067
Controls line thickness. Default is *1*.<br /><br />

docs/api/en/materials/Material.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@ <h3>[property:Boolean isMaterial]</h3>
181181
You should not change this, as it used internally for optimisation.
182182
</p>
183183

184-
<h3>[property:Boolean lights]</h3>
185-
<p>Whether the material is affected by lights. Default is *true*.</p>
186-
187184
<h3>[property:String name]</h3>
188185
<p>Optional name of the object (doesn't need to be unique). Default is an empty string.</p>
189186

docs/api/en/materials/MeshBasicMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ <h3>[property:Texture lightMap]</h3>
100100
<h3>[property:Float lightMapIntensity]</h3>
101101
<p>Intensity of the baked light. Default is 1.</p>
102102

103-
<h3>[property:Boolean lights]</h3>
104-
<p>Whether the material is affected by lights. Default is *false*.</p>
105-
106103
<h3>[property:Texture map]</h3>
107104
<p>The color map. Default is null.</p>
108105

docs/api/en/materials/MeshDepthMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ <h3>[property:Boolean isMeshDepthMaterial]</h3>
8989
You should not change this, as it used internally for optimisation.
9090
</p>
9191

92-
<h3>[property:Boolean lights]</h3>
93-
<p>Whether the material is affected by lights. Default is *false*.</p>
94-
9592
<h3>[property:Texture map]</h3>
9693
<p>The color map. Default is null.</p>
9794

docs/api/en/materials/MeshDistanceMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ <h3>[property:Boolean isMeshDistanceMaterial]</h3>
9898
You should not change this, as it used internally for optimisation.
9999
</p>
100100

101-
<h3>[property:Boolean lights]</h3>
102-
<p>Whether the material is affected by lights. Default is *false*.</p>
103-
104101
<h3>[property:Texture map]</h3>
105102
<p>The color map. Default is null.</p>
106103

docs/api/en/materials/MeshNormalMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ <h3>[property:Boolean isMeshNormalMaterial]</h3>
8686
You should not change this, as it used internally for optimisation.
8787
</p>
8888

89-
<h3>[property:Boolean lights]</h3>
90-
<p>Whether the material is affected by lights. Default is *false*.</p>
91-
9289
<h3>[property:boolean morphNormals]</h3>
9390
<p>
9491
Defines whether the material uses morphNormals. Set as true to pass morphNormal

docs/api/en/materials/RawShaderMaterial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h3>[name]( [param:Object parameters] )</h3>
5050

5151

5252
<h2>Properties</h2>
53-
<p>See the base [page:Material] and [page:ShaderMaterial] classes for common methods.</p>
53+
<p>See the base [page:Material] and [page:ShaderMaterial] classes for common properties.</p>
5454

5555
<h3>[property:Boolean isRawShaderMaterial]</h3>
5656
<p>

docs/api/en/materials/ShaderMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@ <h3>[property:Boolean isShaderMaterial]</h3>
359359
You should not change this, as it used internally for optimisation.
360360
</p>
361361

362-
363-
364-
365362
<h3>[property:Boolean lights]</h3>
366363
<p>
367364
Defines whether this material uses lighting; true to pass uniform data related to lighting to this shader. Default is false.

docs/api/en/materials/ShadowMaterial.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ <h3>[property:Boolean isShadowMaterial]</h3>
5151
You should not change this, as it used internally for optimisation.
5252
</p>
5353

54-
<h3>[property:Boolean lights]</h3>
55-
<p>Whether the material is affected by lights. Default is *true*.</p>
56-
5754
<h3>[property:Boolean transparent]</h3>
5855
<p>Defines whether this material is transparent. Default is *true*.</p>
5956

0 commit comments

Comments
 (0)