Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - normals
Search - normals - List
使用纹理坐标,用简单的方法绘制漂亮的水面,水波使用了正弦函数和加入噪声的方法-Still using texture coordinates, this time here is a very simple way to render fancy water. Waves are shaped using both a sinus function and some Perlin noise. The same texture is used for both fake reflection and transparency, using texture spherical coordinates. Tweaking the texture may lead to quite a good result I think. Use left click to rotate, and right click to translate. You can also switch to wire-frame rendering using L, and get back using P or F. N toggles normals rendering.
Date : 2026-01-09 Size : 17kb User : 马兵
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.