Skip to content

A Unity example that shows how to use the new implementation of DrawProcedural.

Notifications You must be signed in to change notification settings

gawronA/NoiseBall3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Unity example that shows how to use the new implementation of DrawProcedural.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 34.0%
  • ShaderLab 33.7%
  • HLSL 32.3%