Comments (1)
Set the 'Invisible' property on the instance.
Make sure you set the appropriate dirtyFlag as well, otherwise nothing will happen
https://github.com/mkrebser/GPUInstance/blob/master/Assets/Resources/GPUInstance/scripts/InstanceData.cs#L85
https://github.com/mkrebser/GPUInstance/blob/master/Assets/Resources/GPUInstance/scripts/instancemesh_types.cs#L319
Layers don't exist as a concept in shaders- it is a gameObject feature AFAIK and each instance is not a game object
from gpuinstance.
Related Issues (17)
- Android Doesn't Work At All HOT 2
- Diffirent Shader HOT 1
- Appending Position is 1 frame late? HOT 5
- How do textured instances work? Is there a better way to reparent instances in batches? HOT 8
- Not an issue - Amazing Project! Would love to have a URP version, even payed! HOT 9
- "Tried to parent a child to an unitialized parent" error on a parent that's already been initialized multiple frames ago. HOT 3
- Packaging iOS to draw real-time point cloud will report an error,How to solve this problem? HOT 1
- How to bake and play a Transform-Animation
- Enabling/Disabling Animations For Certain Bones HOT 6
- This Project is the Bomb! Thank you! HOT 10
- Camera Controls Wonky (always rotating with mouse) HOT 1
- High GPU Usage for Culling? HOT 10
- Univeral Render Pipeline support HOT 1
- Help with positioning HOT 7
- Edit2: Getting instance's position in shadowmap for uniform shading shader HOT 5
- Changing render distance of instances HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpuinstance.