Skip to content

excluding a material from fog? #695

@daiArna

Description

@daiArna

i'm trying to exclude a material from fog.
i thought the following will do, but it did not.
no idea what the fog attributes on materials for.

fog

scene.fog = new THREE.FogExp2( 0x21323c, 0.0006);

materials

new THREE.ParticleBasicMaterial( { color: 0xffffff, size: 1, sizeAttenuation: false, fog: false } );
new THREE.MeshBasicMaterial( { color: 0x0000bb, fog: false});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions