example-water.particle
来自「赫赫大名的 OGRE 游戏引擎」· PARTICLE 代码 · 共 36 行
PARTICLE
36 行
Examples/Water/Rain
{
material Examples/Droplet
particle_width 100
particle_height 300
cull_each true
quota 100
// Make common direction straight down (faster than self oriented)
billboard_type oriented_common
common_direction 0 -1 0
// Area emitter
emitter Box
{
angle 0
emission_rate 20
time_to_live 5
direction 0 -1 0
velocity 1000
colour_range_start 0.3 1 0.3
colour_range_end 0.7 1 0.7
width 3000
height 3000
depth 0
}
// Gravity
affector LinearForce
{
force_vector 0 -1000 0
force_application add
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?