Author Topic: Noise as a texture in Volume material  (Read 2999 times)

2017-04-20, 19:09:48

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
Noise as a texture in Volume material - I played with volumetric fog/god rays but no texture does seem to have any impact.
Will it come later or should it be working already?

2017-04-27, 09:40:55
Reply #1

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
This is the heterogeneous media feature. It will be added later to the Corona Core and is currently unsupported.

2017-04-27, 16:17:33
Reply #2

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
This is the heterogeneous media feature. It will be added later to the Corona Core and is currently unsupported.
Thx, it helps to know what not to try.

2017-08-16, 13:20:48
Reply #3

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
A bit late, but another post of yours made me return back to this thread, Mike. The situation is that shaders do work to some extent on objects with volume material. They just don't work on a volumetric material applied to the whole scene. This is because with objects, you can sample the shader when you enter and exit the object. This is of course incorrect, because you're neglecting changes of the texture inside the object, but at least it does something. If the volume encapsulates the whole scene, you don't have any entry or exit points and you cannot sample the texture without doing some sort of raymarching (sampling along the ray as you go), but that's part of the heterogeneous media implementation already.

Hope that clears things out a bit :-)