Add GPUParticles to the OpenGL3 renderer.
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
This commit is contained in:
parent
98e0d59952
commit
9ce57050a5
31 changed files with 2906 additions and 317 deletions
|
|
@ -299,10 +299,6 @@ bool GPUParticles2D::get_interpolate() const {
|
|||
PackedStringArray GPUParticles2D::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Node2D::get_configuration_warnings();
|
||||
|
||||
if (RenderingServer::get_singleton()->is_low_end()) {
|
||||
warnings.push_back(RTR("GPU-based particles are not supported by the OpenGL video driver.\nUse the CPUParticles2D node instead. You can use the \"Convert to CPUParticles2D\" option for this purpose."));
|
||||
}
|
||||
|
||||
if (process_material.is_null()) {
|
||||
warnings.push_back(RTR("A material to process the particles is not assigned, so no behavior is imprinted."));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue