Page 1 of 1

Open Shading Language

Posted: Sat Feb 24, 2018 11:53 pm
by Philstix
Has any thought been given to the possibility of enabling the use of OSL shaders in LuxCore?

I don't (yet) understand the complexities that would involve, or even if it is possible, so my apologies if it is a naive question. I was just thinking that would be a way of extending the range of possible shaders beyond those that are hard-coded. For example, just yesterday I was playing around with an OSL shader for creating thin film interference effects in Blender Cycles, something that does not seem to be possible in LuxCore (although it was in Classic, if I recall).

Re: Open Shading Language

Posted: Sun Feb 25, 2018 10:59 am
by Dade
Philstix wrote: Sat Feb 24, 2018 11:53 pm Has any thought been given to the possibility of enabling the use of OSL shaders in LuxCore?
The problem is GPU support, it is nearly impossible (and anyway it would be very slow).
Philstix wrote: Sat Feb 24, 2018 11:53 pm For example, just yesterday I was playing around with an OSL shader for creating thin film interference effects in Blender Cycles, something that does not seem to be possible in LuxCore (although it was in Classic, if I recall).
For Film interference, do you mean film response (http://www.luxrender.net/wiki/LuxRender ... m_Response) ? It is available in LuxCore as an image pipeline plugin.

Re: Open Shading Language

Posted: Sun Feb 25, 2018 11:18 am
by Philstix
Thanks for the response.

The thin film interference I was referring to is the optical phenomenon https://en.wikipedia.org/wiki/Thin_film_interference

The OSL shader I was referring to: https://blenderartists.org/forum/showth ... and-metals

I was investigating this because I want to model a winged insect, and the wings display the thin film interference effect.

Re: Open Shading Language

Posted: Sun Feb 25, 2018 11:41 am
by jensverwiebe
Philstix wrote: Sun Feb 25, 2018 11:18 am Thanks for the response.

The thin film interference I was referring to is the optical phenomenon https://en.wikipedia.org/wiki/Thin_film_interference

The OSL shader I was referring to: https://blenderartists.org/forum/showth ... and-metals

I was investigating this because I want to model a winged insect, and the wings display the thin film interference effect.
I would try to get along wht glossy coating atm..
screenshot-area-2018-02-25-124050.png