From paint to sunscreen to food additives, titanium dioxide is a useful tool. Now, a new technique may make it a useful green fuel producer