Suggestion for CC

New releases and general discussions.

Post » Wed May 11, 2011 9:35 pm

Suggestion for CC. It's about the shaders. If possible, I like to have so that it can use multiple value in the same line instead of one. Example, the color replacer.

It's currently like this.
old red - 128
old green- 128
old blue - 64

new red - 255
new green - 255
new blue- 128

old RGB 128,128,64
new RGB 255,255,128
Posts: 473
Reputation: 4,569

Post » Wed May 11, 2011 9:57 pm

Not really possible without big changes. The user-definable variables aren't necessarily for color in a shader file (they can only be float or percent, aka single numbers), so they each have to be defined separately for RGB if you want to specify an RGB value. They would have to add a new float4 user-variable type, along with an IDE component for editing it. I don't really see it being a worthwhile addition for the work required.

However, if while whoever is at it can expand the shader pipeline with PS3.0 and other goodies, than I support whoever wishes to take on the task. :)

From Davo:[quote:heb8ifet]For type we can either use percent or float. Currently these are all that are supported, but later we may include more (such as a texture!)[/quote:heb8ifet]

Texture type would be useful though.. Rojo..
Posts: 1,197
Reputation: 5,620

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests