Skip to content

data-textures: Mention (data in texture)=(data supplied)/255?  #405

Open
@SuperKenVery

Description

@SuperKenVery

I think it's worth mentioning that, if you have a texture of type LUMINANCE, when you read its content in shader, the shader value will be the value you supplied/255.

If we want to pass something other than colors, say, a gaussium matrix, this would be really important.

I write my codes based on this concept and it works perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions