Thanks to visit codestin.com
Credit goes to github.com

Skip to content

In Stage3d the only way to configure the sampler seems to be through agal. How do we deal we that ? #23

@wighawag

Description

@wighawag

Hi,

First of all thanks for this nice tool. coding in glsl make far much sense :)

In Stage3d the only way to configure the sampler seems to be through agal. How do we deal we that ?

For example, let say I want the sampler to have the nearest filter instead of the linear filter.
In agal I add "nearest" instead of "linear" in the sampler options but since here the agal is generated from glsl, how can I specify to use nearest filter. Should we add this to the json config so that if you wanted to use the glsl on its own (in a native app) the native app could read that json and figure out what filter (or other sampler option) to apply?

Or maybe there a way to do it in glsl?

Thanks

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