0
\$\begingroup\$

In properties of standard objects there are both 2D and 3D properties, like this

enter image description here

On the other hand, in properties of a shader, I can apparently specify only 1D and 4D properties. Is this true? Is the possiblity to specify 2D and 3D really omitted?

\$\endgroup\$
4
  • \$\begingroup\$ Anything you can put into a 2- or 3-component vector, you can put into a 4-component vector. Have you run into any particular difficulty making this work for a specific shader effect? \$\endgroup\$
    – DMGregory
    Oct 10 '20 at 22:18
  • \$\begingroup\$ @DMGregory yes, I know I was just wondering, can I have 2 fields in a row in property editor; so I can't? \$\endgroup\$
    – Dims
    Oct 11 '20 at 8:08
  • \$\begingroup\$ So you specifically want them to show up as 2 or 3 component in the editor, and it is fine if they are 4 component under the hood? \$\endgroup\$
    – Weckar E.
    Oct 12 '20 at 6:53
  • \$\begingroup\$ @WeckarE. if it is impossible directly, I would say it is fine as is; no reason to apply any efforts to hide developer params. I was just wondering. \$\endgroup\$
    – Dims
    Oct 12 '20 at 21:14

You must log in to answer this question.

Browse other questions tagged .