unity3d - How to compile in multiple platform a CGProgram in unity? -



unity3d - How to compile in multiple platform a CGProgram in unity? -

im sorry. rather new programming on shader. when tried building works unity phone, shining effect thats been coded in cgprogram not working in editor okay?

how can resolve one? ive heard compilation of shaders confuse me more. please help me.

preamble

what you've heard irrelevant in unity's world. unity takes care of compiling shaders itself.

solving problem

first thing switch unity's platform either ios, android, blackberry, windows phone or whatever:

file → build settings... → take mobile platform → click "switch platform" button.

then need turn on graphics emulation:

edit → graphics emulation → opengl es

while not 100% accurate emulation, help grab problems. rest read xcode output tells you.

unity3d cg

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -