Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit 2c2f209

Browse files
committed
Remove PBR group for renderer
1 parent 3992e4d commit 2c2f209

1 file changed

Lines changed: 15 additions & 23 deletions

File tree

src/app/data/renderers.js

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
const PBR = {
2-
name: 'Physically-based Rendering',
3-
type: 'group',
4-
props: [{
5-
name: 'Physically Correct Lights',
6-
prop: 'physicallyCorrectLights',
7-
type: 'boolean',
8-
default: false,
9-
}, {
10-
name: 'Gamma',
11-
prop: 'gammaFactor',
12-
type: 'number',
13-
default: 2,
14-
}, {
15-
// @TODO
16-
name: 'Output Encoding',
17-
prop: 'outputEncoding',
18-
type: 'enum',
19-
enumType: 'encoding',
20-
}]
21-
};
22-
231
const ToneMapping = {
242
name: 'Tone Mapping',
253
type: 'group',
@@ -224,8 +202,22 @@ const WebGLRenderer = {
224202
prop: 'debug.checkShaderErrors',
225203
type: 'boolean',
226204
default: true,
205+
}, {
206+
name: 'Physically Correct Lights',
207+
prop: 'physicallyCorrectLights',
208+
type: 'boolean',
209+
default: false,
210+
}, {
211+
name: 'Gamma',
212+
prop: 'gammaFactor',
213+
type: 'number',
214+
default: 2,
215+
}, {
216+
name: 'Output Encoding',
217+
prop: 'outputEncoding',
218+
type: 'enum',
219+
enumType: 'encoding',
227220
},
228-
PBR,
229221
ToneMapping,
230222
ShadowMap,
231223
BufferClearing,

0 commit comments

Comments
 (0)