With reference to my previous question about the computation of a barrier option delta, @LocalVolatility referenced a nice closed form solution to value barrier options on a stock paying a dividend yield. Out of curiosity, I wonder wether this model could "be abused" to value a similar barrier option on a commodities future? To value an FX option I would simply exchange the dividend yield with the foreign exchange rate.
Let's say I want to value an option on some commodites future, I understand that for a Vanilla option I could use the Black model (which is related to the Garman Kohlhagen model). The thought was, could I possibly "abuse" the model above to value a respective barrier option on a commodities future? My "idea of abusal" here would be, given the future, to extract the spot from the future via the interest rate parity relation and use this as input to the model. I know this is really vague, especially since it ignores things like storage costs in the cost of carry, just wondering?
EDIT
As mentioned in a comment below, I wonder wether I could also just exchange the dividend yield for the risk free rate and then price on the future. Intuitively, I got the idea from the derivation of the Black model, but I'm not sure at all.