I am pleased to share a small but valuable Unity feature I have been working on recently. It enables customization of certain visuals for each renderer at no additional CPU performance cost. discussions.unity.com/t/renderer-sha…
32bits are quite tiny size tho. Given that cb is bound with 16 bytes it seems like an underfeaturing tbh. People are using DynamicLightmapST for years to pass custom per-object data. So it shouldn’t be a problem to just add more fields into UnityPerDraw
You're right and DynamicLightmapST was a smart hack. But RSUV is also compatible with GRD (GPU Resident drawer). RSUV+GRD is the real win when you want to customize renderers and keep GPU instanced draw
Yeah, and it bears even more questions, why not a custom larger (not 4B) storage, esp when it can be bound as a separate buffer (with offset+size ofc, since there’s no gfx api which wouldn’t support that). DOTS instancing is already suffering from indirections in cache-unfriendly…
United States 趋势
- 1. Lakers 60K posts
- 2. Luka 59.5K posts
- 3. Wemby 23.3K posts
- 4. Marcus Smart 4,743 posts
- 5. #LakeShow 4,890 posts
- 6. Blazers 7,051 posts
- 7. Russ 8,906 posts
- 8. Ayton 12.5K posts
- 9. Richard 44.2K posts
- 10. Horford 1,657 posts
- 11. #RipCity N/A
- 12. #AEWDynamite 19.4K posts
- 13. Podz 2,265 posts
- 14. #AmphoreusStamp 4,583 posts
- 15. Champagnie 1,165 posts
- 16. Kuminga 3,144 posts
- 17. Spencer Knight N/A
- 18. Thunder 30.4K posts
- 19. #Survivor49 3,299 posts
- 20. Deni 5,906 posts
Something went wrong.
Something went wrong.