Unity-Technologies / Unity-Technologies/com.unity.toonshader

Gpu Instancing & Verticies count

Open
#548 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.6k
Forks
211
Avg merge
2d 17m
Merged PRs (30d)
2

Description

Hi, is it possible to use gpu instancing on this shader? If no, what is the alternative when having a resonable amount of the same model on screen (below 100)?

Also I saw that it cranks up the vert count? Is it the outline pass or the rimlight?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the shader's GPU-instancing support and comparing vertex counts with the outline and rimlight passes in a minimal scene containing repeated models. Confirm whether instancing is available, identify which pass accounts for the increase, and document the supported alternative for fewer than 100 copies.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.