摘要: float4 SmoothCurve( float4 x ) { return x * x *( 3.0 - 2.0 * x ); } float4 TriangleWave( float4 x ) { return abs( frac( x + 0.5 ) * 2.0 - 1.0 ); } flo 阅读全文
posted @ 2016-01-11 16:15 bambom 阅读(358) 评论(0) 推荐(0) 编辑