3 ms·
Thanks for the explanation. That makes sense. Neat stuff. Btw there is proprietary/coprighted unity shader code cut and pasted into this, someobe even copied
by bhouston 9y ago
Thanks for the explanation. That makes sense. Neat stuff.
Btw there is proprietary/coprighted unity shader code cut and pasted into this, someobe even copied the original comments from the unity shaders. For example search for "DecodeLightmapRGBM" in the below source code, which is from the demo - that code and others are copied:
https://gist.github.com/bhouston/1c3c6835ca9766571f07ad0126d70f5a https://gist.github.com/bhouston/1c3c6835ca9766571f07ad0126d...
Here is some unity source code to compare against: https://gist.github.com/nicloay/8d2ae254a77de58bb42b9009b4cfa1c3 https://gist.github.com/nicloay/8d2ae254a77de58bb42b9009b4cf...
- franck 9y agoThanks, good catch. That is a copy&paste that I mistakenly left in, it wasn't used anyway. I removed it now.