CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - opengl flames
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - opengl flames - List
[
3D Graphic
]
framework_dx
DL : 0
The ProceduralFire sample demonstrates the use of pixel shaders to procedurally generate natural phenomena such as fire. Rendering fire as an animation has the disadvantages of looking unrealistic due to the cycling animation and of requiring a lot of texture memory to store the frames of animation. In addition to this, if there are many flames in the scene, and all use the same animation, the scene will look even more artificial. The procedurally generated fire overcomes all these disadvantages by generating long non-repeating animations that can be fully controlled by the application and requires only two textures. The sample uses 1.4 pixel shader to implement the effect. - The ProceduralFire sample demonstrates the use of pixel shaders to procedurally generate natural phenomena such as fire. Rendering fire as an animation has the disadvantages of looking unrealistic due to the cycling animation and of requiring a lot of texture memory to store the frames of animation. In addition to this, if there are many flames in the scene, and all use the same animation, the scene will look even more artificial. The procedurally generated fire overcomes all these disadvantages by generating long non-repeating animations that can be fully controlled by the application and requires only two textures. The sample uses 1.4 pixel shader to implement the effect.
Date
: 2025-12-16
Size
: 629kb
User
:
Roger
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.