• 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

ScienceGuy published

Accessing light's range value within a fragment shader?

Aug 31, '14 shader·lighting·range·cg·point light

0 Replies

1 Votes

avatar image

MaT227 edited

How to control Ambient Lighting and Spherical Harmonics

Aug 28, '14 shader·lightmap·cg·surface shader

0 Replies

2 Votes

avatar image

MaT227 asked

Surface Shader - Light Probes

Aug 27, '14 shader·lightmap·cg·surface·light probes

0 Replies

0 Votes

avatar image

robertbu converted comment to answer

per-vertex data(input) in custom shaders?

Aug 24, '14 shader·cg·uniform

1 Reply

0 Votes

avatar image

pajamajama answered

Shader compiler: internal error compiling shader snippet type=0 platform=0:

Aug 14, '14 error·shader·rendering·shaderlab·cg

1 Reply

1 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

deltamish commented

Unity CG Include not at all working

Jul 21, '14 shader·graphics·cg

2 Replies

0 Votes

avatar image

le_duke commented

Shader vertex position depends on camera ? Closed

Jul 14, '14 shader·position·vertex·cg

1 Reply

0 Votes

avatar image

thrmotta commented

How to render a Cube using Shaders?

Jul 7, '14 shader·cube·cg·geometry shader

0 Replies

0 Votes

avatar image

AleVerDes published

How to save a variable from the shader?

Jul 2, '14 c#·shader·shaderlab·cg

0 Replies

0 Votes

avatar image

mrtkhosravi commented

Weird artifacts in cg shader with lerp() Closed

Oct 9, '17 shader·lerp·cg·artifacts

1 Reply

1 Votes

avatar image

Summit_Peak edited

CG shader float3 to float pack/unpack functions

Jan 4, '15 shader·cg·encoding·packing

1 Reply

0 Votes

avatar image

sacredgeometry commented

Texture not mapped to UV CG shader

Jun 22, '14 shaders·textures·uv·cg

1 Reply

0 Votes

avatar image

ReiBM published

Shader Not Blending Textures on Mobile

Jun 7, '14 shader·cg

1 Reply

0 Votes

avatar image

moosefetcher answered

TexGen'ed UVs - how to access in surface shader?

Jan 21, '16 shader·uv·cg·surface

1 Reply

0 Votes

avatar image

devdev11 published

Unity Terrain - shader for custom post-splat?

May 14, '14 shader·terrain·cg·surface

0 Replies

0 Votes

avatar image

Jeff-Kesselman edited

CG: How to NOT write the pixel

Apr 27, '14 shader·cg·fragment

1 Reply

1 Votes

avatar image

NGC6543 answered

Second UV set as coordinates for a different texture?

Aug 16, '19 shader·uv·cg·surface·uv2

3 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

RC-1290 commented

Stippled Shader?

Dec 11, '17 shader·image·cg·blur

2 Replies

0 Votes

avatar image

keeperkai2 commented

Mobile Additive surface shader

Mar 14, '16 shader·mobile·particles·cg·surfaceshader

0 Replies

0 Votes

avatar image

pancymon2 commented

How do you render points as circles rather than squares?

Jun 14, '18 shader·cg·points·hlsl·circles

2 Replies

1 Votes

avatar image

Winterblood commented

CG Shader: Setting output alpha changes RGB too

Mar 14, '14 shader·alpha·cg·fragment

0 Replies

0 Votes

avatar image

0tacun asked

Need help porting shader to CG

Mar 13, '14 shader·cg·porting·ssao·unitycg

0 Replies

0 Votes

avatar image

chilunliu published

Blend textures in shader

Mar 1, '14 shader·texture·cg·fragment

0 Replies

1 Votes

avatar image

yanhui published

Shifting Texture Coordinates via CG Shader

Mar 3, '14 shader·uv·cg·texturecoord

1 Reply

0 Votes

avatar image

chilunliu published

cg shader blend textures in between two planes/tiles

Feb 23, '14 shader·texture·cg·blending

0 Replies

0 Votes

avatar image

chilunliu published

shader blending 2 texture script

Feb 22, '14 shader·cg·blending

0 Replies

0 Votes

avatar image

Alex_May edited

cross product in cg shader - error "can't find __getVectorIndex"

Feb 21, '14 error·shader·cg

1 Reply

2 Votes

avatar image

Owen-Reynolds answered

shader cg blending two textures

Feb 20, '14 shader·texture·cg·blending

1 Reply

0 Votes

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

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