Page 1 of 1

How to make background visible by refraction

Posted: Wed Jun 24, 2020 1:34 am
by iequezada
Hello,

Is there any way for refractive (transmissive) materials to refract a background object?

I'm attaching two different images, one with the desired result and another with what I get with octane render (which refracts octane's daylight object)

Desired result with c4d's standard renderer (you can see buildings refracted):
Desired result with c4d's standard renderer
Desired result with c4d's standard renderer
Octane render refracting daylight object instead of background:
Octane render refracting daylight object instead of background
Octane render refracting daylight object instead of background
I'm on Octane render 2020.1.2 and C4D R21.
I've tried both using a native material for the background and an octane material.

Re: How to make background visible by refraction

Posted: Wed Jun 24, 2020 6:24 am
by bepeg4d
Hi,
add another Texture Environment node and change the type to Visible, instead or Primary, in this way you can use it for Backplate, Reflections, and/or Refractions:
http://www.aoktar.com/octane/OctaneDaylight.html
ciao Beppe

Re: How to make background visible by refraction

Posted: Wed Jun 24, 2020 10:46 pm
by iequezada
bepeg4d wrote:Hi,
add another Texture Environment node and change the type to Visible, instead or Primary, in this way you can use it for Backplate, Reflections, and/or Refractions:
http://www.aoktar.com/octane/OctaneDaylight.html
ciao Beppe
Thank you Beppe, I did that and it allowed the material to refract the texture environment node behind it, however using the texture enviroment node, my backplate projects into a sphere, distorting it, What I'm looking for is a solution where my backplate projects to a flat plane, with "frontal" projection and not reacting to camera movement, such as with c4d's background object. Is there anyway to achieve this ?

This is what I'm getting with your advice:
distorted
distorted

Re: How to make background visible by refraction

Posted: Thu Jun 25, 2020 6:08 am
by bepeg4d
Try with the following cameraMap_environment.osl projection node:
viewtopic.php?f=21&t=65575&p=357327&hil ... on#p331877
ciao Beppe