A Unity example that shows how to use the new implementation of DrawProcedural.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
This is an updated version of NoiseBall2 that shows how to use
Graphics.DrawProceduralto draw procedurally generated objects without giving any mesh data to the render pipeline.
Note that the
DrawProceduralmethod was refurbished in Unity 2019.1 -- it's replaced with a new implementation, and the previous implementation was moved to a newly introduced method named
So, now the following methods are available for procedural approaches.
DrawProceduralNow- Immediately executed without help of the render pipeline (i.e. no lighting/shadowing).
DrawProcedural- Executed via an intermediate renderer that supports the standard lighting/shadowing features.
It can be said that
DrawProceduralis the handiest way to draw procedural objects with enabling the standard lighting model and the post processing effects.