Skip to content
Snippets Groups Projects
Commit a3e0addb authored by Marco Biasini's avatar Marco Biasini
Browse files

set opacity during VA creation

Profiling has shown that setting the opacity after the VA has been
created is really slow as we have to loop over all vertices in the
VA. Instead, overwrite opacity color when adding the vertex to the
array.
parent fd71ad96
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment