RFE - Updates to Documentation | Write a GLSL Material

It looks like there are a few pieces from the previous wiki that didn’t make the migration.

Specifically, on the Write a GLSL Material page:
https://docs.derivative.ca/Write_a_GLSL_Material

It looks like the refs for the following are currently missing:

TDInstanceTranslate()
TDInstanceScale()

I was sure these existed and ended up finding my way back to them by looking over some older projects. Would love to see them back - unless these have been deprecated in favor of a different approach.

1 Like

Yep they’ve been deprecated. With all the different ways of making transforms now with instancing, along with transform order complexity, you should just be using the TDInstanceMat() method to get your transforms.

1 Like

Copy that.

Thanks @malcolm :slight_smile: