Dose material editor optimize power with intiger exponent?
Hey recently i watched this GDC talk about 0-1 space transformations https://www.youtube.com/watch?v=mr5xkf6zSzk
I started wondering if ue4 material compiler recognize that Power with static intiger exponent, for example 2, is just Base*Base? Any one knows secrets of Power node wroking ? :P Maybe this guys chack could be implemented to speed things up?
I know its very technical but I think its good to always look for ways of speeding shaders up :)
asked May 10 '18 at 02:23 PM in Rendering
Material editor does not optimize that. Compilers, further down the pipeline, however, do.
answered May 10 '18 at 05:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here