But the *real* issue is that I am looping through all the visibile wavelengths to get this iridescent reflection. In reality, I should be checking how much of each wavelength that contributes to the reflection was present in the spectrum of the original light source.
-
-
@AlanZucconi @Atrix256-কে উত্তর দিচ্ছেন
For the sRGB/RGB issue do you think I should convert the original image I have used as a reference and re-run the entire optimisation thing?
Also! If you end up using some of this in your project, would be super awesome having a mentioned or thanks in the credits! 
১ reply ০ টি পুনঃটুইট ২টি পছন্দ -
@AlanZucconi-কে উত্তর দিচ্ছেন
The difference in your image is pretty tiny. In mine it was a lot more noticeable. Maybe worth a 1 sentence mention at least? ::shrug:: FWIW it's for a "sample" but not anything shipped. I have the link to your tutorials in it :)
১ reply ০ টি পুনঃটুইট ০টি পছন্দ -
@Atrix256-কে উত্তর দিচ্ছেন
Ohhh now I'm curious about what we've done differently!
Any chance you send me the shader snipped you've changed or an out-of-context image of the effect?১ reply ০ টি পুনঃটুইট ০টি পছন্দ -
@AlanZucconi-কে উত্তর দিচ্ছেন
actually yeah i should be able to sanitize something!
১ reply ০ টি পুনঃটুইট ০টি পছন্দ -
@Atrix256-কে উত্তর দিচ্ছেন
I'm just curious about the iridescence bit of the shader code!
১ reply ০ টি পুনঃটুইট ০টি পছন্দ -
@AlanZucconi-কে উত্তর দিচ্ছেন
My code is copy/paste of yours with fixup for hlsl hehe. I modified this line for sRGB to linear: color += pow(spectral_zucconi6(wavelength), 2.2f);
১ reply ০ টি পুনঃটুইট ০টি পছন্দ -
@Atrix256 @AlanZucconi-কে উত্তর দিচ্ছেন
Here's a comparison. Left is sRGB, right has the conversion to linear. Forgot to mention that _distance is "500".pic.twitter.com/OIWWLfIkHZ
১ reply ০ টি পুনঃটুইট ২টি পছন্দ -
@Atrix256-কে উত্তর দিচ্ছেন
Thank you! Grating distance is 1600. I guess the difference it is much more notable in this screenshot.
pic.twitter.com/YBdGxuW0n6
২ replies ০ টি পুনঃটুইট ০টি পছন্দ -
@AlanZucconi-কে উত্তর দিচ্ছেন
oh man, my distance was too low. it looks way cooler at higher values :)
১ reply ০ টি পুনঃটুইট ০টি পছন্দ
Alan Zucconi Alan Zucconi পুনঃটুইট করেছেন
Hehe there has been another discussion about blue rays, and how they don't really shine that much.https://twitter.com/AlanZucconi/status/1018245443568984065?s=09 …
Alan Zucconi যোগ করেছে,
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।