How will Float3 to Texture2D?

How will Float3 to Texture2D?

Hey @mjjd565!

Could you be more specific? I’m assuming you’re talking about materials, typically a float3 only returns a color without Alpha channel.

Get back to us!

Yes, it’s material.

That’s good to know, however your question needs a bit more description.

If English is not your native language, try being as detailed as possible and using Google Translate, or you can post here in your native language and change the question tag to include your language! I’ll also do my best to translate so I might be able to help! :slight_smile:

I want to convert a float 3 to an texture object.
What should I do?

Is there any function that can solve it? :fearful: :fearful:

Unfortunately, not that I know of. The Float3 is just 3 numbers. A Texture is a file you must attach to the texture sampler.

I can try to give you another option but I don’t understand why you need to do this. We still need more context to understand what it is you’re trying to do. :slight_smile:

Thanks, I just want to know how the floating point 3 docks texture sampling. If so, thank you for your answer.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.