0 Favourites

Suggestion for CC

This forum is currently in read-only mode.
  • 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

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • 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!)

    Texture type would be useful though.. Rojo..

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
CC/C2 discussion
72 23,117
kod3master's avatar
kod3master
Unread hot topic
0 Favourites
random bugs and suggestions
90 4,517
Tom's avatar
Tom Construct Team Founder
Unread hot topic
57 30,559
duanegrundy's avatar
duanegrundy