Jump to content
Mr. Lalym Yuriy

isophoten.frag rotated the lines through 90 degrees.

Recommended Posts

Hi,

 

You can try to permute the coordinates of the normal in line 52 of the file.

The original line reads:

vec3 n = normalize(normal);

Try

vec3 n = normalize(normal).yzx;

or

vec3 n = normalize(normal).zyx;

instead.

 

After you have edited the file, make sure that it is reloaded in CAESES by selecting the material and clicking twice on the "Use Shader" checkbox (see image).

post-28-0-94066200-1461850812_thumb.png

 

Regards,

Erik

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...