[REQ] Ability to include external shader code

Feature requests, bug reports and related discussion
Post Reply
4 posts • Page 1 of 1
MSUdom5
Posts: 159
Joined: Sun Jul 20, 2008 6:04 am
Location: Mississippi, USA
Contact:

[REQ] Ability to include external shader code

Post by MSUdom5 » Thu Nov 06, 2008 4:30 am

I'm sure we'll start to see shader libraries emerge. Might want to allow users to include external shader libraries in the IGS. Something like:

Code: Select all

<shader>
              <include>
                  <pathname>/path/to/external/isl/code.isl</pathname>
              </include>
              <shader>
                  <![CDATA[def eval(vec3 pos) vec3 : externalFunc(pos)]]>
               </shader>
 </shader>

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Thu Nov 06, 2008 5:12 am

you can include external material with shader
Check normals, dude!

Image
Image

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: [REQ] Ability to include external shader code

Post by fused » Thu Nov 06, 2008 5:17 am

MSUdom5 wrote:I'm sure we'll start to see shader libraries emerge. Might want to allow users to include external shader libraries in the IGS. Something like:

Code: Select all

<shader>
              <include>
                  <pathname>/path/to/external/isl/code.isl</pathname>
              </include>
              <shader>
                  <![CDATA[def eval(vec3 pos) vec3 : externalFunc(pos)]]>
               </shader>
 </shader>
+1

would be very useful!!!

Hellstorm
Posts: 41
Joined: Mon Sep 22, 2008 9:31 pm
Location: Einbeck, Germany
Contact:

Post by Hellstorm » Thu Nov 06, 2008 7:43 pm

Yep. Should be a musthave feature!
There could also be a shader-section in the MatDB :D

Post Reply
4 posts • Page 1 of 1