Open Shading Language

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
Philstix
Posts: 13
Joined: Sun Feb 04, 2018 8:48 pm
Location: Brisbane, Australia

Open Shading Language

Post 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).
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Open Shading Language

Post 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.
Support LuxCoreRender project with salts and bounties
Philstix
Posts: 13
Joined: Sun Feb 04, 2018 8:48 pm
Location: Brisbane, Australia

Re: Open Shading Language

Post 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.
jensverwiebe
Supporting Users
Posts: 141
Joined: Tue Jan 09, 2018 6:48 pm

Re: Open Shading Language

Post 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
Post Reply