mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
Added lit particle emissive support.
This commit is contained in:
@@ -0,0 +1,399 @@
|
||||
material testParticleMaterial {
|
||||
{
|
||||
map _default
|
||||
blend add
|
||||
vertexColor
|
||||
}
|
||||
}
|
||||
|
||||
material particleStrip {
|
||||
{
|
||||
map textures/particles/flame3_strip.tga
|
||||
blend add
|
||||
vertexColor
|
||||
scale 1 ,-1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
particle basic {
|
||||
{
|
||||
time 2.0
|
||||
cycles 1
|
||||
fadeIn 0.4
|
||||
count 200
|
||||
// bunching 0.5
|
||||
// deadTime 0.5
|
||||
orientation aimed 0 0.3
|
||||
material particleStrip // which shader to use
|
||||
animationFrames 32
|
||||
animationRate 20
|
||||
size 30
|
||||
distribution cylinder 0 0 0
|
||||
direction cone 360
|
||||
speed 300
|
||||
rotation 100
|
||||
gravity 100
|
||||
offset 0 0 100
|
||||
}
|
||||
}
|
||||
|
||||
particle oneshot {
|
||||
{
|
||||
time 2.0
|
||||
cycles 1
|
||||
fadeIn 0.4
|
||||
count 200
|
||||
orientation aimed 0 0.3
|
||||
material particleStrip // which shader to use
|
||||
animationFrames 32
|
||||
animationRate 20
|
||||
size 30
|
||||
distribution cylinder 0 0 0
|
||||
direction cone 360
|
||||
speed 300
|
||||
rotation 100
|
||||
gravity 100
|
||||
offset 0 0 100
|
||||
}
|
||||
}
|
||||
|
||||
particle fadeTest {
|
||||
{
|
||||
time 1.0
|
||||
fadeIn 0.2
|
||||
fadeOut 0.6
|
||||
count 100
|
||||
orientation aimed 0 0.4
|
||||
material particleStrip // which shader to use
|
||||
animationFrames 32
|
||||
animationRate 20
|
||||
size 30
|
||||
distribution cylinder 0 0 30
|
||||
direction cone 20
|
||||
speed 200
|
||||
rotation 100
|
||||
gravity 100
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
particle helix {
|
||||
{
|
||||
time 2.0
|
||||
fadeIn 0.4
|
||||
count 100
|
||||
material testParticleMaterial // which shader to use
|
||||
// animationFrames 32
|
||||
// animationRate 20
|
||||
size 4
|
||||
customPath helix 50 50 60 2 10
|
||||
rotation 100
|
||||
orientation aimed 10 0.2
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Generated by the Particle Editor.
|
||||
To use the particle editor, launch the game and type 'editParticles' on the console.
|
||||
*/
|
||||
particle bulletsmokeandspark {
|
||||
{
|
||||
count 3
|
||||
material textures/particles/barrelpoof
|
||||
time 1.100
|
||||
cycles 0.000
|
||||
deadTime 4.000
|
||||
bunching 0.100
|
||||
distribution rect 0.000 0.000 0.000
|
||||
direction outward "0.000"
|
||||
orientation view
|
||||
speed "5.000" to "0.000"
|
||||
size "2.000" to "5.000"
|
||||
aspect "1.000"
|
||||
rotation "15.000" to "0.000"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.100
|
||||
fadeOut 0.700
|
||||
fadeIndex 0.000
|
||||
color 0.180 0.160 0.140 1.000
|
||||
fadeColor 0.000 0.000 0.000 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world -1.000
|
||||
}
|
||||
{
|
||||
count 2
|
||||
material textures/particles/boomboom3
|
||||
time 0.150
|
||||
cycles 1.000
|
||||
deadTime 4.000
|
||||
bunching 0.000
|
||||
distribution rect 0.200 0.200 0.200
|
||||
direction outward "0.000"
|
||||
orientation view
|
||||
speed "5.000" to "0.000"
|
||||
size "0.000" to "6.500"
|
||||
aspect "1.000" to "1.500"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.000
|
||||
fadeOut 0.600
|
||||
fadeIndex 0.000
|
||||
color 0.870 0.910 0.450 1.000
|
||||
fadeColor 0.000 0.000 0.000 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world -1.000
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Generated by the Particle Editor.
|
||||
To use the particle editor, launch the game and type 'editParticles' on the console.
|
||||
*/
|
||||
particle bulletsmokeanddebris {
|
||||
{
|
||||
count 3
|
||||
material textures/particles/barrelpoof
|
||||
time 1.100
|
||||
cycles 0.000
|
||||
deadTime 4.000
|
||||
bunching 0.100
|
||||
distribution rect 0.000 0.000 0.000
|
||||
direction outward "0.000"
|
||||
orientation view
|
||||
speed "5.000" to "0.000"
|
||||
size "4.500" to "7.500"
|
||||
aspect "1.000"
|
||||
rotation "15.000" to "0.000"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.100
|
||||
fadeOut 0.700
|
||||
fadeIndex 0.000
|
||||
color 0.180 0.160 0.140 1.000
|
||||
fadeColor 0.000 0.000 0.000 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world -3.000
|
||||
}
|
||||
{
|
||||
count 2
|
||||
material textures/particles/debris
|
||||
time 0.350
|
||||
cycles 0.000
|
||||
deadTime 4.000
|
||||
bunching 0.100
|
||||
distribution rect 0.000 0.000 0.000
|
||||
direction outward "0.000"
|
||||
orientation view
|
||||
speed "73.000" to "81.000"
|
||||
size "4.500" to "9.000"
|
||||
aspect "1.200"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.100
|
||||
fadeOut 0.700
|
||||
fadeIndex 0.000
|
||||
color 0.180 0.160 0.140 1.000
|
||||
fadeColor 0.000 0.000 0.000 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world 142.000
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
particle anim {
|
||||
{
|
||||
time 1.0
|
||||
count 20
|
||||
material textures/particles/firestrip // which shader to use
|
||||
emissive 2.000
|
||||
animationFrames 7
|
||||
animationrate 20
|
||||
size 4
|
||||
distribution cylinder 32 32 32
|
||||
speed 0
|
||||
rotation 100
|
||||
}
|
||||
}
|
||||
|
||||
particle sphere {
|
||||
{
|
||||
time 1.0
|
||||
count 200
|
||||
material testParticleMaterial
|
||||
size 2
|
||||
distribution sphere 32 32 32
|
||||
direction cone 160
|
||||
speed 4
|
||||
rotation 100
|
||||
}
|
||||
}
|
||||
|
||||
particle deadTime {
|
||||
{
|
||||
time 1
|
||||
count 100
|
||||
material testParticleMaterial
|
||||
size 2
|
||||
distribution rect 4 4 0
|
||||
direction cone 160
|
||||
speed 100
|
||||
rotation 100
|
||||
|
||||
deadTime 2.0
|
||||
}
|
||||
}
|
||||
|
||||
particle point {
|
||||
{
|
||||
time 3.0
|
||||
count 200
|
||||
material testParticleMaterial
|
||||
size 2
|
||||
distribution rect 0 0 0
|
||||
direction cone 160
|
||||
speed 10
|
||||
rotation 100
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
particle bunch0 {
|
||||
{
|
||||
time 0.5
|
||||
count 100
|
||||
material testParticleMaterial
|
||||
size 2
|
||||
distribution rect 4 4 0
|
||||
direction cone 160
|
||||
speed 100
|
||||
rotation 100
|
||||
}
|
||||
}
|
||||
|
||||
particle bunch1 {
|
||||
{
|
||||
time 0.5
|
||||
bunching 0.1
|
||||
count 100
|
||||
material testParticleMaterial
|
||||
size 2
|
||||
distribution rect 4 4 0
|
||||
direction cone 160
|
||||
speed 100
|
||||
rotation 100
|
||||
}
|
||||
}
|
||||
|
||||
particle bunch2 {
|
||||
{
|
||||
time 0.5
|
||||
bunching 0.5
|
||||
count 100
|
||||
material testParticleMaterial
|
||||
size 2
|
||||
distribution rect 4 4 0
|
||||
direction cone 160
|
||||
speed 100
|
||||
rotation 100
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Generated by the Particle Editor.
|
||||
To use the particle editor, launch the game and type 'editParticles' on the console.
|
||||
*/
|
||||
particle bulletricochet {
|
||||
{
|
||||
count 2
|
||||
material textures/particles/barrelpoof
|
||||
time 1.100
|
||||
cycles 1.000
|
||||
bunching 0.250
|
||||
distribution rect 0.000 0.000 0.000
|
||||
direction outward "0.000"
|
||||
orientation view
|
||||
speed "5.000" to "0.000"
|
||||
size "3.500" to "9.000"
|
||||
aspect "1.000"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.100
|
||||
fadeOut 0.700
|
||||
fadeIndex 0.000
|
||||
color 0.140 0.130 0.110 1.000
|
||||
fadeColor 0.000 0.000 0.000 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world -3.000
|
||||
}
|
||||
{
|
||||
count 2
|
||||
material textures/particles/boomboom4
|
||||
time 0.150
|
||||
cycles 1.000
|
||||
bunching 0.000
|
||||
distribution rect 0.200 0.200 0.200
|
||||
direction outward "0.000"
|
||||
orientation view
|
||||
speed "5.000" to "0.000"
|
||||
size "0.000" to "8.000"
|
||||
aspect "2.000"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.000
|
||||
fadeOut 0.600
|
||||
fadeIndex 0.000
|
||||
color 0.910 0.733 0.475 1.000
|
||||
fadeColor 0.000 0.000 0.000 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world -2.000
|
||||
}
|
||||
{
|
||||
count 2
|
||||
material textures/particles/spark3
|
||||
time 0.250
|
||||
cycles 1.000
|
||||
deadTime 1.200
|
||||
bunching 0.100
|
||||
distribution cylinder 4.000 4.000 4.000 0.000
|
||||
direction cone "150.000"
|
||||
orientation aimed 0.000 0.020
|
||||
speed "120.000"
|
||||
size "2.000" to "0.250"
|
||||
aspect "1.000" to "0.250"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.050
|
||||
fadeOut 0.150
|
||||
fadeIndex 0.000
|
||||
color 0.910 0.730 0.470 1.000
|
||||
fadeColor 0.430 0.210 0.100 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world 140.000
|
||||
}
|
||||
{
|
||||
count 2
|
||||
material textures/particles/spark3
|
||||
time 0.150
|
||||
cycles 1.000
|
||||
deadTime 1.200
|
||||
bunching 0.100
|
||||
distribution cylinder 1.000 1.000 1.000 0.000
|
||||
direction cone "150.000"
|
||||
orientation aimed 0.000 0.020
|
||||
speed "300.000"
|
||||
size "2.000" to "0.250"
|
||||
aspect "1.000" to "0.100"
|
||||
randomDistribution 1
|
||||
boundsExpansion 0.000
|
||||
fadeIn 0.050
|
||||
fadeOut 0.150
|
||||
fadeIndex 0.000
|
||||
color 0.910 0.730 0.470 1.000
|
||||
fadeColor 0.430 0.210 0.100 0.000
|
||||
offset 0.000 0.000 0.000
|
||||
gravity world 140.000
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user