Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
3
Question by habitoti · Mar 03, 2013 at 08:55 AM · gridprojector

Grid projector not covering whole terrain?

Hi,

I am creating a fresh terrain and add an orthographic grid projector at 0/30/0. The whole terrain is now covered with a squared grid -- as intended.

However, as soon as I introduce the slightest terrain deforming somewhere, the grid shrinks and does no longer cover the whole area, and I have no clue why. Shouldn't it simply project also on formed terrain (and everything else)?

See picture: the dark spot up left is the only slight "hill" in the terrain, and the remaining grid is now only the lighter part in the lower right. What am I doing (or understanding) wrong?

alt text

Reagrds, habitoti

grid.png (227.5 kB)
Comment
Add comment · Show 3
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 habitoti · Mar 05, 2013 at 07:13 PM 0
Share

Anyone a clue? I am really stuck with this... :-( I suppose it is a no-brainer for a Unity-senior, but I as a newbie am obviously missing something.

Here some more information I found: there seems to be some underlying tiling of the terrain that is related to the cutoff of the projection. Here are to screenshots with the projector just $$anonymous$$imally moved in x-direction. The grid restriction then moves a whole "tile" (while the projector is on the border between them, the grid actually covers both tiles...). When there is no deformation at all or the terrain height is set to 0, the grid covers the whole terrain. How can I make the projector cover the whole terrain, no matter what shape and height the terrain has?

alt text

Projector slightly moved in x-direction:

alt text

gp2.png (178.3 kB)
gp1.png (183.2 kB)
avatar image stevesan · Oct 22, 2013 at 08:12 PM 0
Share

I experienced a similar problem, except not using Unity Terrain, but with Voxeland. Voxeland also creates meshes in chunks. It's almost as if..the projector can only apply to a certain number of mesh objects?

avatar image wulveagfin · Mar 25, 2016 at 02:13 AM 0
Share

Could you elaborate on "directional light" and "grid texture as a cookie"? I'm facing the same bug in 5.3.3 and it seems completely random.

I couldn't quite figure out how to use a directional light as a projector.

1 Reply

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by habitoti · Mar 07, 2013 at 08:34 AM

Since I haven't received any feedback on this, I tried other forums to get in touch with affected users, and I got a good reply here, so I answer this myself for other interested useres coming by: This seems to be a bug with the projector when using repeated textures. You can work around this by using a directional light with the grid texture converted to cookie. As an additional benefit you have even more control about the intensity and can bake the grid if you don't need it to project on moving objects.

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

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

11 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

Related Questions

Alternative method to grid projection for a quad-tile game? 2 Answers

How do I display my hex grid to the player? 0 Answers

Projecting a grid over a mesh 1 Answer

Projection that follows mouse locations on Grid 1 Answer

Projector working in Editor, but disappearing after Build & Run 0 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