mirror of
https://github.com/FMS-Cat/condition.git
synced 2025-08-18 03:11:19 +02:00
aesthetics: no shadow for condition
This commit is contained in:
@@ -120,16 +120,7 @@ export class Condition extends Entity {
|
||||
},
|
||||
);
|
||||
|
||||
const depth = new Material(
|
||||
conditionVert,
|
||||
conditionFrag,
|
||||
{
|
||||
defines: [ 'SHADOW 1' ],
|
||||
initOptions: { geometry, target: dummyRenderTarget },
|
||||
},
|
||||
);
|
||||
|
||||
const materials = { cubemap, deferred, depth };
|
||||
const materials = { cubemap, deferred };
|
||||
|
||||
objectValuesMap( materials, ( material ) => {
|
||||
material.addUniformTexture( 'samplerSvg', texture );
|
||||
@@ -157,7 +148,6 @@ export class Condition extends Entity {
|
||||
() => {
|
||||
cubemap.replaceShader( conditionVert, conditionFrag );
|
||||
deferred.replaceShader( conditionVert, conditionFrag );
|
||||
depth.replaceShader( conditionVert, conditionFrag );
|
||||
},
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user