How to increase emissivity with distance? (Materials)

I want to increase the emissivity with distance (distance between object and camera).

I tried this but it doesn’t work.

Does anyone know how to do it?

Thank you so much!!

You need to do similar thing but for pixels not whole material/actor

Something like:

  • get pixel distance from camera (world location and camera location)
    -clamp it and multiply and maybe power to get in range of 0…1 and all that
  • feed to lerp node for emmisive multiplier.
  • apply that to color

maybe there are post process materials, or some new stuff implemented in rendering.

1 Like

Hi @Nawrot
Your method does works!!
But is not progressive (lineal)… the intensity go from the minimum to the maximum in just one step.
Any idea how to make it progressive? (more distance = more intensity).
Thank you very much for your help!! :heart:


Ok… more or less i got what i want… (the logaritmic magic).

Yor method help me a lot to do this:

But a better way to do this is wellcome.
Thank you so much for your help!! :heart:

Watch and use those:

And i think this is exactly what you want:

ps.

And if may suggest watch everything from that guy, subscribe etc. He has great tutorials.
Watch all or at least read titles of them, to know what is out there.

pps.

And one more thing that proves: “watch everything from him!” :smiley:

one minus node:

1 Like

Hi @Nawrot

Yes, that is exactly what i looking for.
Awesome YouTube channel.

Thank you so much for sharing and for your time!! :heart:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.