Real-time dynamic cloud Perlin Noise + light + sunlight shielding

Source: Internet
Author: User
. The sun is very bright and it is making you squint!
2. The clouds near the sun are glowing much brighter than clouds far from the Sun.
3. luckly the clouds are moving against ss the sky, and occasionally block out of the sun, making it easier to see, so you don't have to squint as much.
4. The clouds are also changing shape as they move across ss the sky.
5. Not all the sky contains cloud. Some areas of sky are completely cloud free.
6. The clouds do not continue into the distance forever. The furthest clouds are often obscured by haze.
7. All of this used 29 pixel shader instructions to implement.
8. All of this are real-time on GPU that used only 1 noise 3D lookup texture even the sun is procedural.

9. I coded the cloud in 2 days with rendermonkey and integration to ogre.

 

 

 

Real-time dynamic cloud Perlin Noise + light + sunlight shielding

GPU computing 29 PS commands
Only one noise texture is used in the video.

When the parameters are dynamically adjusted, the recorded video has a card. 

From data query to writing shader with rendermonkey, and finally integrating into ogre
It took two days. 

 

Reference:

Http://freespace.virgin.net/hugo.elias/models/m_clouds.htm 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.