Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

GLSL multi top input limitation

General discussion about anything TouchDesigner

GLSL multi top input limitation

Postby pixelux » Wed Feb 28, 2018 5:40 pm

Hello,
Does the GLSL multi top has any limitation in the number of input supported ?
It seems that I encounter strange behaviour with more than 30 inputs .

Thanks

xavier
Xavier G.
User avatar
pixelux
 
Posts: 124
Joined: Tue Jan 11, 2011 2:10 pm
Location: Digne les bains

Re: GLSL multi top input limitation

Postby timgerritsen » Thu Mar 01, 2018 7:43 am

Hi xavier,

Not sure what's the actually limit (could be perhaps depending of your video card). Though you could put some texture inputs in a texture3D and pass it as 1 sampler. It's definitely possible to input a sampler with more than 30 depths channels.

Hope it helps.

Cheers,
Tim
timgerritsen
 
Posts: 67
Joined: Sun Jan 24, 2016 6:57 am

Re: GLSL multi top input limitation

Postby malcolm » Thu Mar 01, 2018 5:03 pm

It's GPU dependent, but its usually around 16 or 32 is the limit of textures that can be used at one time.
User avatar
malcolm
Staff
 
Posts: 4371
Joined: Tue Nov 13, 2007 1:11 am

Re: GLSL multi top input limitation

Postby lucasm » Fri Mar 02, 2018 12:52 pm

The glslmulti doesn't accept texture 3d as a standard top input r
Correct? Only accessible through glsl shaders?

Or am I mistaken on that?
User avatar
lucasm
 
Posts: 251
Joined: Sat Apr 28, 2012 7:55 pm
Location: Dallas, TX

Re: GLSL multi top input limitation

Postby timgerritsen » Tue Mar 06, 2018 9:32 am

lucasm wrote:The glslmulti doesn't accept texture 3d as a standard top input r
Correct? Only accessible through glsl shaders?

Or am I mistaken on that?


Not sure what you mean.. The GLSL multi TOP is TOP element to inject a glsl shader. (multi meaning more inputs than the regular glsl top which has only 3).
You can just input a texture3d and sampler it inside your shader using the sTD3DInputs[] samplers.

See also: https://www.derivative.ca/wiki099/index ... a_GLSL_TOP
timgerritsen
 
Posts: 67
Joined: Sun Jan 24, 2016 6:57 am

Re: GLSL multi top input limitation

Postby django » Tue Jun 04, 2019 3:33 am

Sorry for reviving an old thread, but I was wondering, if there is a way to get the maximum number of inputs, supported by the graphics card?
I was looking through the variables, but couldn't find it.

Cheers, David
django
 
Posts: 177
Joined: Fri Aug 30, 2013 3:26 am
Location: Switzerland

Re: GLSL multi top input limitation

Postby ben » Tue Jun 04, 2019 1:24 pm

This hasn't been exposed, though it is technically possible. We've added it as an RFE.
User avatar
ben
Staff
 
Posts: 2527
Joined: Thu Nov 08, 2007 6:55 pm
Location: Toronto

Re: GLSL multi top input limitation

Postby django » Wed Jun 05, 2019 3:50 am

Thank you for adding it as an RFE.
I think it would be very useful.
django
 
Posts: 177
Joined: Fri Aug 30, 2013 3:26 am
Location: Switzerland


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: Google [Bot] and 11 guests