I’ve now made some basic shaders and I understand the general functioning of shaders within away3d. It’s actually quite smart in how it is constructed.
Does anybody know if it is possible to get the angle of the face in the fragment shader?
My intention is to change the color of the face depening on the horizontal angle. Not sure if this is possible at all…