You seem awfully quiet about this subject, did I do something stupid?
23 replies to this topic
Members - Reputation: 1076
Posted 09 September 2013 - 03:00 PM
A few things:
- What format is your back/front textures? If it's 8bit you should scale to 0-1 range for output (if you're using HDR values then you should be fine).
- Your position should be in texture space. That is, bias and scale it from [-1, 1] to [0, 1] (pos * 0.5 + 0.5) when you read your texture.