+16
Completat

Compile for Mobile or Per Node Precision flags

Brighton Gardiner fa 10 anys updated by Rubén Garcia fa 10 anys 3
A lot of mobile shader optimizations come from using halfs instead of floats.
It's possible to open the SF shader and perform these edits by hand, but that becomes problematic to iterate.
It would be nice if we could flag per node "use half", or if there was a better global option.

Answer

Answer
Completat
This has now been implemented in RC 0.37 :)
You can now enable variable precision and name control in the settings menu, to pop up this extra panel on all nodes that will define a variable.

Answer
Completat
This has now been implemented in RC 0.37 :)
You can now enable variable precision and name control in the settings menu, to pop up this extra panel on all nodes that will define a variable.

Thank you very much for this implementation.
Now "Shader Forge" is one step further to be quite acceptable in mobile platforms without writing code! Amazing! This could be better than UE4 material system :D