|
How can I make the self-illumination diffuse shader brighter on ES1? It appears fine on ES2 but looks dull on ES1
(comments are locked)
|
|
How can I make the self-illumination diffuse shader brighter on ES1? It appears fine on ES2 but looks dull on ES1
(comments are locked)
|
Once you sign in you will be able to subscribe for any updates here
By RSS:The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
Topics:
asked: Apr 09 '12 at 04:37 PM
Seen: 476 times
Last Updated: Apr 10 '12 at 05:03 PM
You probably want to use Quad instead of double. However, you really should alter that shader; using greater than lowp isn't the most performant solution. Multiple MAD lines are better. http://answers.unity3d.com/questions/212675/lighting-less-intense-on-ios.html
@Jessy cheers I will try that. Where can I find the source for this particular shader?
They're prefaced by "Illumin" in the DefaultResources folder. And it's weird, but they didn't use the Double keyword in the fallback, so adding that will probably be fine. They're actually using "fixed" variables, as you'd want for devices running on a battery, for the main shader.
Cheers @Jessy