Skip to content
A Unity example that shows how to use the new implementation of DrawProcedural.
Branch: master
Clone or download
Latest commit ce2f10c Apr 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets Postprocess Apr 4, 2019
Packages Postprocess Apr 4, 2019
ProjectSettings Postprocess Apr 4, 2019
.gitattributes Initial commit Apr 4, 2019
.gitignore Initial commit Apr 4, 2019
README.md Update README Apr 4, 2019

README.md

NoiseBall3

gif

This is an updated version of NoiseBall2 that shows how to use Graphics.DrawProcedural to draw procedurally generated objects without giving any mesh data to the render pipeline.

Note that the DrawProcedural method 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 DrawProceduralNow.

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 DrawProcedural is the handiest way to draw procedural objects with enabling the standard lighting model and the post processing effects.

You can’t perform that action at this time.