1
$\begingroup$

I created a basic rainbow gradient background in cycles with the colour ramp set to constant. With the standard camera this appears as expected.

But when I switch to orthographic camera I only get one colour.

I can tweak the Z location in a mapping node to move the gradient around and the changes are represented on a glossy Suzanne correctly. but the background is only one colour, at a time.

I change the position of the colour ramp stops and even using 6 decimals points of precision can not get more than one colour to appear on the background at a time.

I get that the orthographic camera is flattening the background and causing a greatly reduced angle of view but should I be able to set up the background to to be a very small colour ramp rainbow?

I also thought about using the compositor, but found the images in this answer to low-res to read. How to create a gradient backround in the compositor?

$\endgroup$
  • 1
    $\begingroup$ Orthographic camera means 0degree angle so the camera can only show one pixel (the smallest unit) of the background. Compositor seems the way to go for your desired effect $\endgroup$ – Bruno Mar 9 '18 at 11:29
  • $\begingroup$ that makes perfect sense, now you have said it. Please post as the answer and I give you the vote. I did manage to muddle through the blurry screenshots to use a Texture gradient as the compositor background. $\endgroup$ – rob Mar 9 '18 at 12:58
  • $\begingroup$ Glad it helped and glad to comply! Cheers $\endgroup$ – Bruno Mar 9 '18 at 13:06
2
$\begingroup$

Orthographic camera means 0 degree angle, so, the camera can only show one pixel (the smallest unit) of the background. Compositor seems the way to go for your desired effect.

|improve this answer|||||
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.