Search Unity

Hexagonal Camera View

Discussion in 'Scripting' started by akaydinmurat, May 21, 2019.

?

How can i change to camera form as hexagonal.

  1. possible

    1 vote(s)
    100.0%
  2. impossible

    0 vote(s)
    0.0%
  1. akaydinmurat

    akaydinmurat

    Joined:
    May 6, 2019
    Posts:
    4
    hi,

    I need a hexagonal view. How can i change to camera form as hexagonal. i want to change camera preview.

    Like in the photo.
     

    Attached Files:

    Last edited: May 21, 2019
  2. palex-nx

    palex-nx

    Joined:
    Jul 23, 2018
    Posts:
    1,748
    add a sprite with hexagonal hole above all objects in your scene
     
  3. csofranz

    csofranz

    Joined:
    Apr 29, 2017
    Posts:
    1,556
    Hehe, that could have been phrased more carefully :) - Palex is correct, but instead placeing one hexagonal sprite hole above each object in your scene, he meant to say
    - create a sprite with a hexagonal cutout (using alpha)
    - place that sprite directly in front of the camera (whch will place the hole "above" (before) all other objects

    -ch
     
  4. akaydinmurat

    akaydinmurat

    Joined:
    May 6, 2019
    Posts:
    4
    thanks your answers,

    but i want to change camera preview
     

    Attached Files: