#You re adding these commands into a

1 messages · Page 1 of 1 (latest)

tepid olive
#

is it possible to compress two operations into a single command ?

#

like if i would SetTexture twice / set two textures on the paint material

hasty marten
#

To what end?

tepid olive
#

and use the results to draw into two different render textures

#

or would it be necessary to make another maskRenderTexture

#

im trying to sort the RGBA channels

#

in a way

#

so i got two textures , and each channel corresponds to the other textures channel

#

for example tex1 Red and tex2 Red will store the same "layer" information

#

the paint shader will have two textures as input

#

and apply sorting based on new input values

#

the confusing part is how i extract the end result

#

like ... the method DrawRender will it override all the pixels ?

#

and the Blit method , does it overrides all the pixels as well , or will it have an additive effect

#

ehhh... ill just create two shaders instead

#

was hoping to optimize this with one operation

hasty marten
tepid olive
#

how ?

hasty marten
tepid olive
#

wow

#

based keijiro

#

ahh so he creates two passes

#

interesting

#

output result is still one texture , right ?

#

my current target is vulkan , seems i can't use that since SHADER_API_GLES

hasty marten
#

The first pass renders to both textures.

#

The result is two textures.