Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
10
Question by gusrbehfdl · Jan 03, 2019 at 11:10 PM · terrainprojector

Projector stops working on Terrain with "Draw Instanced" enabled

So I've noticed that Projector doesn't doesn't work on terrain when "Draw Instanced" is enabled (2018.3 feature).

I'd really like to use GPU instancing since it's a huge performance boost but projector is also an important component I'm utilizing here.

Is it not possible to use projector with instancing enabled or is this a bug? if not, how can I make the projector work on terrain?

alt text

eefa9a8329cfeb15.png (498.8 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image chaneya · Jan 08, 2019 at 08:11 PM 2
Share

I've noticed the same thing. Thanks for posting this to the Answers section. I just posted the exact same question in the World Building Forum.
link text Hopefully someone with knowledge on projectors and GPU Instancing will respond.

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Soulice · Nov 17, 2020 at 03:52 AM

Not fixed in 2020 with new Terrain tools.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Nigthwatch · Jan 20, 2019 at 05:04 PM

I was just trying out projectors for an idea I had.. but found this same issue. I also noted that when switched off the projection was inconsistent across the terrain and looked bloody awful. It did not stay within the frustum and if I quote the documentation "just like a real world projector" IT was far from being that!

So I'm probably going to use a second camera, some sprites, raycast to place on terrain and careful layering and depth setup so it's always rendered above the terrain to give the same effect. Just with more consistency and I can still use Draw Instanced on terrain.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by sorinhigh · Feb 01, 2019 at 07:59 AM

I really hope they fix this soon. I use decals for explosion marks on the ground and would love to use the new instancing to enhance performance.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nigthwatch · Feb 01, 2019 at 09:01 AM 0
Share

I did some more research and experimentation and ended up using decals as described here:

blogs.unity3d.com/2015/02/06/extending-unity-5-rendering-pipeline-command-buffers/

With careful placement, just above the terrain it works for my situation. It fails over water, but that was sort of expected. To get around this I use a flat sprite over water. It works perfectly well with instanced terrain too.

I'm also tempted to use it for adding in more details to the scene, performance seems very good. There was a very good Decal asset on the store, but seems he pulled it prematurely upon seeing HDR pipelines has decals as standard.

But the pipelines are not mature enough yet in my $$anonymous$$d, so not an option for a long while yet.

avatar image
0

Answer by DarkGate · Mar 08, 2019 at 05:47 PM

Same here, found out this issue. a fix would be real nice.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by vinnygombici · Sep 10, 2019 at 02:46 PM

Any news on that one? Is there a way to put a projector now on a terrain with "instanced" checked?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nigthwatch · Sep 10, 2019 at 04:03 PM 0
Share

I strongly suggest using Decals, they are very good performance. They are so versatile in how they can be used. Depending on pipeline you are using. HDRP has them built in, for LWRP / URP you could either create one or lookup on asset store. Standard pipe I mention in comments above.

If like me you have purchased an effects pack from $$anonymous$$ripto (https://assetstore.unity.com/publishers/5224) he's written a Decal shader which works on all pipelines! it was a nice surprise when I spotted this in the pack. It is really well written and has some good features.

$$anonymous$$ost importantly all the decals I have tested work on instanced terrain!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

127 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

footprints with depth in snow 1 Answer

Options of projectors 2 Answers

Selecting Grid Sqaures from Projector on Terrain 0 Answers

Projector on parts of terrain? 0 Answers

Drawing a Grid 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges