larryvm
06-10-2005, 03:25 PM
this is the first mental ray shader i wrote, is a 2d texture that can be maped on the IBL node so and render with FG simule the sun position and sky color, is the first version so it has some bugs.
you only have to connect the shader in the texture attribute of the IBL node and connect a mi_texture_vector to the coord attribute of the shader.
to install the shader you have to edit the maya.rayrc
and add the lines in the file
link "{MAYABASE}/lib/fvEnvironment.{DSO}"
and
mi "{MAYABASE}/include/fvEnvironment.mi"
this is still a wip so if someone have an idea or comment can be added to the final shader.
you only have to connect the shader in the texture attribute of the IBL node and connect a mi_texture_vector to the coord attribute of the shader.
to install the shader you have to edit the maya.rayrc
and add the lines in the file
link "{MAYABASE}/lib/fvEnvironment.{DSO}"
and
mi "{MAYABASE}/include/fvEnvironment.mi"
this is still a wip so if someone have an idea or comment can be added to the final shader.
