x


Mesh with shadows but without ligthing

Hi,

I want a mesh that is shaded but not affected by light. Is there a simple way do?

Thanks.

more ▼

asked Mar 17, 2010 at 10:47 AM

Gunder gravatar image

Gunder
318 30 24 41

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

you need to write a special shader. shadows are result of lights sources. so you need to write a shaer that calculate the shadow but don't affect the color of mesh's material. i don't know much about shader programming so i can not help.

more ▼

answered May 03, 2010 at 06:29 PM

Ashkan_gc gravatar image

Ashkan_gc
10.1k 76 91 160

Ashkan you have still much to learn lol :D There is the UNLIT shader that allows flat "shading" with texturing at no expense, it's also a lot quicker in render :)

May 31, 2010 at 07:34 PM GODLIKE

thank you for the info. everyone has much to learn. even big guys like M.abrash and our lovely heros at UT need to learn. man beeing knows nothing compared to available knowledge in this complex great and beautiful (green) world.

Jun 01, 2010 at 09:08 AM Ashkan_gc
(comments are locked)
10|3000 characters needed characters left

you can add a light map to it.

more ▼

answered Mar 22, 2010 at 01:02 PM

naruse gravatar image

naruse
361 10 9 19

Ligthmaps doesn't works with shadows.

Mar 23, 2010 at 08:48 AM Gunder
(comments are locked)
10|3000 characters needed characters left
Your answer
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:

x2945
x808
x406

asked: Mar 17, 2010 at 10:47 AM

Seen: 1972 times

Last Updated: May 03, 2010 at 06:29 PM