0
Fixed

Skewed horizon on Cubemap

Nikolas Mcrain 11 years ago updated by Freya Holmér (Developer) 11 years ago 9
Good afternoon! When creating shaders Cubemap for use as skybox obtained littered the horizon. At the attached screenshot red line is the line of the horizon.
How does your shader tree look?
Cubemaps are sampled by the view reflection direction by default. Connect a Negate node into DIR of the cubemap, and then connect a View Direction node into the Negate node
Also, set your shader to unlit and use only Emission - Diffuse is for things that should receive light from light sources :)
Thanks for the hint about Emmision. So looks beautiful!
And what about Negate, I, honestly, do not understand how to use it.
The node requires some kind of input parameter and output this to the DIR CubMap not connect.
Viewing the help (http://acegikmo.com/shaderforge/nodes/?search=Negate) didn't help.
Sorry for broken English.
You probably need to connect View Direction to the Negate node first, then connect Negate to the Cubemap

Cubemap[DIR] <-- Negate <-- View Direction
Let me know if it worked, in which case I'll close this topic
Thank you very much! Everything worked. While has remained visible border between textures. But it's likely that the problem is in the settings themselves textures and cubmapes