x


Assign shaders to scripts from editor

I have a script that allows the user to assign different Shaders. In the Inspector when clicking on the property a list of available shaders shows up. However in this list are only shaders that reside in my assets folder and not the built-in shaders. How can I get the editor to show the built-in shaders as well? (as it does when assigning a shader to a material)

more ▼

asked Apr 18 '10 at 11:56 AM

StephanK gravatar image

StephanK
6k 39 53 93

Oops. Overlooked that one. Thanks.

Apr 19 '10 at 12:43 PM StephanK
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5061
x1665
x1649
x464

asked: Apr 18 '10 at 11:56 AM

Seen: 1906 times

Last Updated: Apr 18 '10 at 11:56 AM