godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.18k stars 21.2k forks source link

The height field is not exposed in GPUParticlesCollisionHeightField3D #69824

Closed yosh3333 closed 1 year ago

yosh3333 commented 1 year ago

Godot version

4.x

System information

All

Issue description

The height field in GPUParticlesCollisionHeightField3D should be exposed as a texture accessible to the user, similarly to how GPUParticlesCollisionSDF3D exposes the SDF as a texture.

This is important for users that need to manually place particles in a shader according to the height field (e.g. populating surfaces with grass GPU particles in a forest scene composed of multiple terrain meshes).

Steps to reproduce

NA

Minimal reproduction project

NA

Calinou commented 1 year ago

Closing, as feature proposals should be discussed on the Godot proposals repository. This repository is now used for bug reports only.

Make sure to follow the proposal template when opening a new proposal – don't just copy and paste the text you wrote in this issue.