|
@@ -77,7 +77,8 @@ float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const i
|
|
|
value: glslCode,
|
|
|
language: 'glsl',
|
|
|
theme: 'vs-dark',
|
|
|
- automaticLayout: true
|
|
|
+ automaticLayout: true,
|
|
|
+ minimap: { enabled: false }
|
|
|
} );
|
|
|
|
|
|
const result = window.monaco.editor.create( resultDOM, {
|
|
@@ -85,7 +86,8 @@ float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const i
|
|
|
language: 'javascript',
|
|
|
theme: 'vs-dark',
|
|
|
automaticLayout: true,
|
|
|
- readOnly: true
|
|
|
+ readOnly: true,
|
|
|
+ minimap: { enabled: false }
|
|
|
} );
|
|
|
|
|
|
const showCode = ( code ) => {
|