Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssshader_soft_particles

Category:script
Author(s):Ren712
Downloads:2683
Rate:You need to be logged in to vote
Rating:5 (6 Votes)
Description:
Resource: Shader Soft Particles v0.1.3
Author: Ren712

Description:
The aim with soft particles is to remove the ugly artifact that
appears when the particle quad intersects the scene. When drawing the
particles, the depth of the particle is compared to the scene depth.
The method is the simplest can be and very effective.

Example resource: https://www.dropbox.com/s/dahx2borhcirrea/soft_particles_r..e.zip?dl=0
It's about 6MB - 79 textures from fx-shader resource by Krischkros

Exported functions:
softParticleElement replaceParticle(string textureName,entity Texture)
--------Replace soft particle texture
bool restoreParticle(element softParticleElement)
--------Restore previously declaired soft particle texture

The effect might turn off Antialiasing due to Depthbuffer usage.
However on some graphics cards it doesn't disable that.

The resource might not work on some older GFX (especially INTEL).

-- Reading depth buffer supported by:
-- NVidia - from GeForce 6 (2004)
-- Radeon - from 9500 (2002)
-- Intel - from G45 (2008)
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
0.1.3 2019-04-02 20:53:55 -slightly optimized particle drawing Download
0.1.2 2014-10-04 00:10:05 -reconfigured the depth related values Download
0.1.1 2014-10-02 14:21:13 -soft_particle is now reapplied after restoring soft_particle_replace Download
0.1.0 2014-10-02 13:44:18 -put some projective texture calculations from VS to PS Download
0.0.9 2014-09-29 01:18:31 - Fixed a typo. Download
0.0.8 2014-09-28 20:41:10 -added exported functions: replaceParticle and restoreParticle Download
0.0.7 2014-07-05 12:12:40 -Reconfigured the effect. Download
0.0.6 2014-07-05 11:21:55 -Changed the fade method. Reconfigured the effect. Download
0.0.5 2013-12-24 12:31:49 First public release Download