Jump to content

Recommended Posts

I'm getting a faceted appearance using a disp map, corresponding to the pixels in the disp map. Any way to smooth this out *without* increasing map resolution, increasing shading quality etc? Do I need to create vertex normals from the displaced geometry normals somehow? The displacement map is a float exr image, so color depth is not a problem. The vex code doing the displacement is as follows:

vector mapclr=0;
float mult=1.0;
mapclr=texture(map,s,t);
P+=mult*mapclr.r*normalize(N);
N = computenormal(P);

Disp.jpg.926f36140addd2cabbe4ebd3d9f02240.jpg

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

×