Bumpmap with self illu area ?? + iOS shader issue

Hello,

Question A :

Below a screen with 2 models using the same Normal map and Diffuse :

  • to the left : Bumped Diffuse shader
  • to the right : Mobile/Bumped Diffuse shader

Build settings are set to iOS and graphic emulation to openGL 2.0.

Does someone know why the mobile shader with the normal map doesn’t show the normal map? O_o?
The material slot rendering the shader on the sphere looks good but the model into the viewport or game window is like on the screen.

Question B :

The same model has some red yellow area, and I would like to get it self illuminated to simulate lava/fire effect.

Also would like to control the shadow area generated by the normal map I feel a little bit dark…

Is there a shader for both PC and mobile able to produce this effect keep the normal map?
Does someone already gave it a try?

Did some research on UnityUnify, but I didn’t find anything.
Also dunno how should I call the self illu effect I would like to have to do more research on the forum… :frowning:

Thank you much for assistance !!! ^_^!

782497--28602--$Screen shot 2011-12-28 at 5.14.40 PM.png

A: I think the mobile bumped diffuse only works with directional lights (Not sure, and can’t be bothered to check now). Also, make sure you also check on the device, the emulation is not always correct.

B: You need to write your own shader or modify this one. Look into the source of the ones you are using and the self illum ones and figure it out.

A : you have right!!!

B : It seems the Self Illu // Bumped Specular does what I need! There is an illumin slot!!
Well, dunno the perf on iOS yet… I will give it a try today…

Thank you AcidArrow!!

783300--28671--$Screen shot 2011-12-29 at 11.51.09 AM.png