• 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

Cg

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

undead-steve commented

Why does this IOS / OGLES shader not match PC version?

Nov 14, '13 shader·ios·cg

0 Replies

0 Votes

avatar image

KEric answered

_ObjectSpaceLightPos[0] not working

Apr 23, '14 lighting·light·shaderlab·cg

2 Replies

1 Votes

avatar image

MaT227 asked

Grabpass refraction masking

Jun 5, '15 shader·cg·hlsl·glsl·refraction

0 Replies

0 Votes

avatar image

frogsbo commented

Shader error in ... : Syntax error at line 30

Sep 30, '14 error·shader·compiler·cg·compile errors

1 Reply

0 Votes

avatar image

Bunny83 edited

Is it more qualitative to calculate light direction manually or using WorldSpaceLightDir(vertex)?

Mar 16, '16 unity 5·shaders·cg·fragment

1 Reply

1 Votes

avatar image

1337GameDev asked

Get color of pixel before pass: prefer cg, shaderlab is last resort

Apr 14, '13 shader·color·pixel·cg·pass

0 Replies

0 Votes

avatar image

MaT227 asked

Surface Shader World Normal

Sep 19, '14 shader·rendering·normals·cg·surface shader

0 Replies

0 Votes

avatar image

homer_3 edited

How to account for tiling in shader uv coords?

Sep 15, '13 shader·cg·tiling

0 Replies

0 Votes

avatar image

kaiyum edited

Material doesn't have a color property '_Color'

Jan 5, '14 shader·cg·properties

0 Replies

0 Votes

avatar image

gnp89 commented

Simple Cg shader not compiling

Apr 13, '14 shader·shaderlab·cg·surface

1 Reply

1 Votes

avatar image

Jiexi commented

Vertex shader with two textures at different heights.

Oct 4, '13 shader·vertex·cg

0 Replies

0 Votes

avatar image

ScroodgeM answered

Separate texture coordinates in shaders

Jul 20, '12 shaders·particle·shaderlab·cg·additive

1 Reply

0 Votes

avatar image

Oijadt published

Overlay Effect Shader - Very slow in mobile device

Nov 8, '13 shader·fps·graphics·performance·cg

1 Reply

0 Votes

avatar image

AlucardJay commented

How to clean on RenderTexture to transparent with brush

Sep 25, '14 shader·texture·rendertexture·render·cg

0 Replies

0 Votes

avatar image

Complex77 answered

CG shader tile issue

Jan 14, '14 shader·scale·tile·cg·blend

1 Reply

0 Votes

avatar image

chilunliu published

shader blending 2 texture script

Feb 22, '14 shader·cg·blending

0 Replies

0 Votes

avatar image

_Gkxd commented

Difference between pos.z and pos.w?

Sep 22, '15 unity 5·shader·cg·opengl·matrix4x4

0 Replies

0 Votes

avatar image

Dayman edited

Passing custom vertex attributes to cg shader

Jul 22, '14 shader·lighting·procedural mesh·cg

0 Replies

0 Votes

avatar image

iko79 published

Using single channel floating point texture for lookup-table in cg-Shader

Jul 4, '13 c#·textures·cg

0 Replies

1 Votes

avatar image

$$anonymous$$ asked

Tint a UI sprite with a gradient

Oct 11, '18 in Help Room

0 Replies

0 Votes

avatar image

LW edited

Where Is UNITY_POSITION(pos) Defined?

Jul 20, '17 shader·cg·hlsl·fragment

1 Reply

0 Votes

avatar image

trumanita asked

conditional pragma target

May 15, '13 shader·target·cg·directx·pragma

0 Replies

0 Votes

avatar image

fred_gds answered

Use multiple materials?

Dec 18, '13 shader·material·alpha·cg

1 Reply

0 Votes

avatar image

Duncan Keller asked

How to draw a tiled texture on a post process shader Wiki

Aug 30, '14 shader·texture·post processing·cg·tiling

0 Replies

1 Votes

avatar image

tanoshimi answered

Linearising the inversion of camera depth effect

Sep 6, '13 shader·shaderlab·cg·shader writing

1 Reply

0 Votes

avatar image

Eno-Khaon edited

Transparent shader disappears with multiple objects

Jul 4, '21 unity 5·shader·transparency·cg·billboard

1 Reply

0 Votes

avatar image

lonewalker07 published

Parse error: syntax error, unexpected TVAL_ID, expecting TVAL_STRING

Feb 11, '21 in Help Room

0 Replies

0 Votes

avatar image

spalmer commented

Rendering virtual objects within a real scene

Jun 30, '15 shader·augmented reality·cg

1 Reply

0 Votes

avatar image

Sytto commented

Can this shader run in unity?

Jan 30, '13 shaders·shaderlab·cg·hlsl·glsl

1 Reply

0 Votes

avatar image

Le-Pampelmuse commented

Mirror reflection not working as planned Closed

Dec 22, '15 in Help Room

0 Replies

-1 Votes

  • »
  • ‹
  • 4
  • 5
  • 6
  • 7
  • 8
  • ›
  • »

Followers

avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

shader shaders shaderlab hlsl shader programming glsl fragment unity 5 lighting material graphics texture alpha vertex surface shader c# matrix shader writing vertex shader pass surface color uv error blending


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