question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

excluding a material from fog?

See original GitHub issue

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});

Issue Analytics

  • State:closed
  • Created 12 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mrdoobcommented, Oct 29, 2011

Beautiful scene btw 😃

0reactions
daiArnacommented, Oct 29, 2011

yeah, it was the version. thanks guys.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Question - how to exclude material partialy from volumetric fog
Hi, Currently we can't disable fog on opaque object, we can only do this on transparent object with "receive fog". Also there is ......
Read more >
How to exclude some actor from the Fog ? - Rendering
Hi, In my current scene I'm using an Exponential Fog which works very well. ... (Without having the use a translucent material of...
Read more >
Problem: Excluding an object from Environment fog. - CGTalk
I'm rendering my scene with the Maya Software renderer. My scene has an Environment Fog Material working. I have a poly plane in...
Read more >
How to exclude PhotoDome / VideoDome from fog?
Normally you can exclude objects by changing their material: material.fogEnabled = false. But neither PhotoDome nor VideoDome have a ...
Read more >
Exclude from fog? - Corona Renderer forum
I have an animation scene with CoronaVolumeMlt in the Global volume material slot in the Scene render panel. Which is how I'd normally...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found