Hi everyone , i am really new to the shader thing, and i decided to give strumpys a try, i must admit it looks impressive , but thats where it stops for me, i cant get it to do much of anything. I have figured out how to add a diffusion color, and a single Main Texture as part of the shaders properties, but i cant really figure out how to do much more.
To the point though, is that i would like to have a surface shader that has bump, specular, and maybe self illumination, but it cant rely on lights, for eg: the reason i ahve made my way over here , is because i ran into an issue , where the only way to capture the lighting i wished, was to bake light maps , and thats when i discovered , that static meshes that have been lightmapped , dont show specular , and bump? is this even possible? Im so lost
Bump - i really need help understanding how i can lightmap a model and still use things like specular and bump. ( its the whole idea of the object must be static to be lightmapped - thus spec and bump seem to mean nothing.)
You can’t really. Specular and normal mapping depend on view angle and light angle, which you don’t have in a lightmap. 3.5 may have support for directional lightmaps (RNM or similar) which should allow for this. Or you could look at one of the RNM systems people have released.
But for right now, you only get specular and normal support on non-lightmapped surfaces using realtime lights. That’s why the dual lightmap system is available in Pro, to allow for things close up to use realtime lights and things further away to use lightmaps.
Ok , that answers that , but , what about this , i see this from Unity themselves , and yet this shader appears nowhere inside my environment.
http://docs.unity3d.ru/Components/shader-LightmapBumpedDiffuse.html
Ahh EDIT : it is there under legacy shaders… but now im wondering , whats a legacy shader? sounds like its on its way out?
Its interesting to note that although this shader seems to be exactly what i need , it isnt, although it accepts a lightmap and a bump map , the bump still only works with a real light somewhere in the scene.