+16
Lõpetatud

Compile for Mobile or Per Node Precision flags

Brighton Gardiner 10 aastat tagasi uuendaja Rubén Garcia 10 aastat tagasi 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.

Vasta

Vasta
Lõpetatud
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.

Vasta
Lõpetatud
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