0
$\begingroup$

Here you can see two very different viewports, but they are the same scene. The bottom right is the un-rendered view on Material View. On the first picture you see the rendered view, but it does not show the texture applied to the cubes and to the lines... why?

3D & Render View .

. Render View

Nodes for the textured material

These are the node elements for the textured material.

$\endgroup$
  • 1
    $\begingroup$ Your node tree is an incorrect mess. You have shaders outputting into color cockets, color ramps driving color ramps, shaders mixing with colors. Cleanup your setup. Not sure what you are trying to achieve here, but make sure you match your socket colors. $\endgroup$ – Duarte Farrajota Ramos Mar 19 '18 at 1:37
  • 1
    $\begingroup$ Read: What is the meaning of the color of the node sockets in the node editor? $\endgroup$ – cegaton Mar 19 '18 at 1:40
  • $\begingroup$ @Duarte Farrajota Ramos How would you go about fixing them? What would you change exactly? $\endgroup$ – brolyleman Mar 19 '18 at 1:40
  • $\begingroup$ For starters: move your Diffuse Node so that it's between your last Color Ramp node and the Mix Shader node. $\endgroup$ – TomTr Mar 19 '18 at 8:38
2
$\begingroup$

The main problem is not your node-setup but the use of the textured viewport mode. this mode is not very reliable for previewing as it only displays the last selected texture of our node setup and doesn't take texture coordinates and transforms into account. if you want a texture preview without using the rendered view, switch to material view instead.

Your node setup

screenshot

  1. Delete unused nodes
  2. Don't use color ramps as an input for color ramps (take the node socket's color into account!): The color ramp's input only takes the value of a pixel but no actual color information and translates them to the color gradient. basically your first color ramp is almost useless.
  3. The mix shader expects two shaders as an input (green socket), don't mix a color and a shader with it
  4. same here, connect the mix shader directly into the material output and put the diffuse shader between the color ramp and the mix shader
$\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.