• 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

Unanswered Questions

  • All Questions
avatar image

Max Pushkarev asked

Camera dir in object space (vert programm)

Mar 28, '16 in Help Room

0 Replies

0 Votes

avatar image

DenizCetinalp asked

Shader that renders fragment behind

Mar 3, '16 shader·cg·surface shader·fragment·ztest

0 Replies

0 Votes

avatar image

Krstn commented

Shader breaks on device.

Dec 5, '18 in Help Room

0 Replies

0 Votes

avatar image

Paul-van-der-Laan published

Unexpected behavior in Vertex/Fragment shader when using saturate method (CG)

Jan 5, '16 shader·vertex·cg·fragment·snow

0 Replies

0 Votes

avatar image

awplays49 asked

Detailed gradient shader

Dec 28, '15 shader·vertices·cg·gradient·fragment

0 Replies

0 Votes

avatar image

AlicanHasirci edited

Using Vertex Color increases Draw Call

Dec 22, '15 shaders·cg·unlit·vertex color·drawcall

0 Replies

1 Votes

avatar image

JeffersonTD commented

Blending in a simple shader not working in Unity5 as it used to work in Unity4

Dec 21, '15 rendering·shaders·unity5·cg

0 Replies

0 Votes

avatar image

awplays49 commented

Broken specular shader code (CG)

Dec 13, '15 shader·shaders·cg

0 Replies

0 Votes

avatar image

gangafinti asked

Shader error : incorrect number of arguments to numeric-type constructor

Dec 7, '15 in Help Room

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

layzrr commented

Where is the best place to learn how to write shaders for Unity 5?

Oct 21, '15 in Help Room

0 Replies

1 Votes

avatar image

Fuzzzy published

Unity Shaders, CG color shadow glitch

Aug 8, '15 shadow·cg·shader writing

0 Replies

0 Votes

avatar image

MaT227 asked

Meta pass and Precomputed Realtime GI

Aug 6, '15 shader·lighting·material·cg·global illumination

0 Replies

0 Votes

avatar image

rootools published

Colors tint at shader

Jul 24, '15 shader·color·shaderlab·cg·fullscreen

0 Replies

0 Votes

avatar image

g-pechorin edited

Can I read `CGPROGRAM` `#define` constants in `.cs` at runtime?

Jul 13, '15 shader·cg·cs

0 Replies

0 Votes

avatar image

TruffelsAndOranges asked

Sprite deformation in shader?

Jul 9, '15 shader·cg

0 Replies

0 Votes

avatar image

gangafinti edited

Ocean shader

Jul 2, '15 cg

0 Replies

0 Votes

avatar image

jorjdboss edited

Fake directional light on toon shader Wiki

Jun 17, '15 shader·cg·toon

0 Replies

0 Votes

avatar image

MaT227 asked

Grabpass refraction masking

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

0 Replies

0 Votes

avatar image

shaderWriter commented

How to get view space position of a pixel

May 27, '15 shader·cg

0 Replies

0 Votes

avatar image

Gumis published

Shader works differently on Android (OpenGL) and Editor (DX11)

Apr 30, '15 android·shader·shaders·cg

0 Replies

0 Votes

avatar image

crustforever published

How to access another sprite's texture from a 2D shader

Apr 25, '15 ui·shader·graphics·shaderlab·cg

0 Replies

1 Votes

avatar image

RunSwimFly asked

CG compiled to GLSL: hyperbolic functions not found.

Apr 16, '15 unity 5·shader·cg·glsl·#pragma

0 Replies

0 Votes

avatar image

tanuj0092 asked

Can anyone help me with reflective shader with fall off property?

Mar 26, '15 shader·reflection·shaderlab·cg·alpha-channel

0 Replies

0 Votes

avatar image

Bletotum published

Var types and math; unexpected results?

Mar 22, '15 shader·math·vector·cg

0 Replies

0 Votes

avatar image

Mogrinnar asked

Having trouble with The Cg Tutorial book's exercises in Unity.

Mar 2, '15 shaders·cg

0 Replies

0 Votes

avatar image

LyveIG published

Cg Language incompatibility Desktop VS GLSL Android

Feb 20, '15 shader·cg·glsl·gles

0 Replies

1 Votes

avatar image

fafnir published

Shader fails on iOS Wiki

Feb 15, '15 shader·ios·cg

0 Replies

0 Votes

avatar image

MaT227 asked

Shader - Convert Normals to View-Space Normals

Dec 12, '14 shader·shaders·normals·cg

0 Replies

1 Votes

avatar image

$$anonymous$$ published

Alpha Blending Problem

Oct 19, '14 shader·alpha·cg·blending

0 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • ›

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