• 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

KuangZheng edited

_World2Object and _Object2World problem

Aug 23, '13 shader·cg

0 Replies

0 Votes

avatar image

teigsy edited

Projector + custom fragment shader = endless texture draw

Nov 14, '17 shader·texture·cg·projector·tiling

2 Replies

2 Votes

avatar image

benbenben commented

Shader behaves different in other scene / project

Aug 14, '13 shader·lighting·cg

0 Replies

1 Votes

avatar image

robertbu commented

CG shader is treated as GLSL and doesn't compile

Aug 14, '13 error·shader·cg·glsl

0 Replies

0 Votes

avatar image

MachindoApps commented

Terrain custom shader not lit per pixel?

Aug 28, '13 shader·terrain·cg·pixel light·vertex-lit

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

DickieMayCry commented

Light direction based Lerp

Jul 12, '13 shader·lerp·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

mavv answered

Modify custom shader to add bump and normal maps

Aug 6, '19 shader·cg·custom-shader

2 Replies

0 Votes

avatar image

equalsequals answered

Shader Variable Types

Jul 2, '13 shaders·cg·hlsl·glsl

2 Replies

1 Votes

avatar image

Jessy edited

Can a CG shader fail to work on hardware?

Jun 25, '13 shader·shaderlab·cg·hlsl·glsl

1 Reply

0 Votes

avatar image

Kajos edited

Sharing variables across shader passes. Is it possible?

May 27, '13 shader·cg·hlsl

0 Replies

1 Votes

avatar image

Kajos asked

Omit DEPTH output in branch

May 26, '13 shader·cg

0 Replies

0 Votes

avatar image

spalmer published

Efficient code for shortest distance inside a fragment shader

Jun 29, '15 shader·distance·cg·matrix·matrix4x4

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

zettam commented

Shader time related questions

May 12, '13 shader·shaders·time·cg·sin

1 Reply

1 Votes

avatar image

karmakun published

Accessing shadow texture in shader

Jan 13, '14 shaders·shadows·cg

2 Replies

1 Votes

avatar image

Pauls commented

What is struct Input (Shader)?

Apr 17, '13 shader·input·cg

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

1337GameDev commented

Font Color changing shader [color changes based on what background color is]

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

1 Reply

0 Votes

avatar image

whydoidoit edited

CG diffuse shader

Apr 12, '13 shader·terrain·cg·surface·diffuse

1 Reply

0 Votes

avatar image

Owen-Reynolds answered

Learning shaders for unity4

Apr 1, '13 shaders·cg·unity4·learn·resource

1 Reply

0 Votes

avatar image

Tasty Risotto published

CG Shader Programming in Unity

Mar 26, '13 cg

1 Reply

0 Votes

avatar image

kiwimatt001 edited

Shader no longer working on iOS

Dec 2, '14 shader·ios·cg

1 Reply

0 Votes

avatar image

Gogeric commented

ShaderLab builtin lighting properties are not correct?

Apr 5, '13 lighting·shaders·shaderlab·cg

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

Rs edited

Randomness in CG shaders

Sep 12, '16 shader·random·cg

3 Replies

0 Votes

avatar image

sparrow commented

make surface shader in cg, unlit

Nov 7, '13 shader·cg

2 Replies

0 Votes

avatar image

customphase published

CG Shaders. Get pixels from previous pass (or write to texture)

Jan 31, '13 shaders·cg

0 Replies

3 Votes

avatar image

Sytto commented

Can this shader run in unity?

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

1 Reply

0 Votes

  • »
  • ‹
  • 7
  • 8
  • 9
  • 10
  • 11
  • ›
  • »

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