I'm a beginner in Blender, and from my understanding, when a texure is pink it is because something is wrong with the file, or the reference to the file. However, my texture is showing in rendered view, but not in material preview. How can I fix this issue?
-
1$\begingroup$ please provide blend file $\endgroup$– ChrisCommented Nov 29, 2021 at 2:55
-
$\begingroup$ solid view can have textures as well, you can see that bottom part has some texture and top is pink because texture is missing... providing your file would solve that, please don't forget to go to File > External Data >Pack all into .blend $\endgroup$– MikoCGCommented Nov 29, 2021 at 7:51
1 Answer
If you are using Nodes make sure the Material Output node is set to All.
The menu allows you to create shader variations depending on the active rendering engine, but if a material doesn't have an output for the current one it shows up as pink.
For versions 4.2 and later, Blender allows to connect nodes in a way that it's wrong and it results in pink color. For me the problem was a combination of displacement map, normal map and bump nodes.
-
$\begingroup$ I am not sure why anyone gave you -1, this is the best possible solution in this case if we don't have his file, I am giving you +1 $\endgroup$– MikoCGCommented Nov 29, 2021 at 7:52
-
$\begingroup$ Doing this fixed my problem, thanks! $\endgroup$ Commented Nov 30, 2021 at 0:06