Search Feedback

20
votes

Support for Instanced Rendering with Custom Data in ShaderGraph and the LW/HD-RP

Graphics

-

-

Please add support for instanced rendering with custom per instance data to the ShaderGraph and respectively to the LW/HD- render pipeline master nodes / shader generation.

We suggest adding a toggle per material property in Shader Graph's blackboard. If turned on the shader generation could puts the declaration inside an instance buffer:

UNITY_INSTANCING_BUFFER_START(Props)
UNITY_DEFINE_INSTANCED_PROP(float4, _Color)
UNITY_INSTANCING_BUFFER_END(Props)

and change the access within:
UNITY_ACCESS_INSTANCED_PROP(Props, _Color)

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10781)

2D

(281)

Ads

(55)

AI & Navigation

(82)

Analytics

(133)

Animation

(396)

Asset Store

(355)

Asset Store Publisher

(17)

Assets

(543)

Audio

(184)

Cloud Build

(145)

Collaborate

(64)

Docs & Tutorials

(240)

Editor

(2507)

Everyplay

(19)

Game Performance Reporting

(22)

General

(980)

Graphics

(870)

GUI

(432)

Input

(173)

Licensing

(92)

Networking

(189)

Physics

(384)

Platforms

(442)

Profiling & Optimization

(85)

Runtime

(182)

Scripting

(1168)

Terrain

(172)

WebGL

(143)