renderman shader antialising


#1

Hi guys

I am facing atialising problem while rendering .i am writing a shader that having simple vertical
black lines but when i am rendering ,the area near camera shows jaggy edges . some one please tell me how prefilter antialising code add in to shader.

thanks
Neal


#2

hi neal,

shader antialiasing is an art for itself and it usually cannot be done by some swiss army prefilter antialising code :smiley:

are you using RSL?
how does your code look like? i guess you did your lines with the step funtion. use filterstep instead

grs
Patrik


#3

I think Advanced Renderman has a filteredpulse() function which does what you want. This is a classic case where you get aliasing issues.

Simon


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.