any alternatives to GLSL ?

This topic contains 2 replies, has 2 voices, and was last updated by  mkandula 5 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30648

    mkandula
    Member

    Hi,

    For POWERVR SDK, is GLSL the only shading language option ?

    Thanks in advance.

    #35140

    Joe Davis
    Member

    GLSL ES is part of the OGLES2 spec. For this graphics API, there are no other shading languages that are natively supported.

    Depending on your use case, and if there is no way to manually implement all shaders in GLSL ES, then it may be worth considering writing your own/find a shader language converter. Some well known game engines use this approach so shaders can be written once and then converted to different shading languages based on the target platform and graphics API it requires.

    #35141

    mkandula
    Member

    Hi Joe,

    THanks for the info !! I was thinking along the lines of using Cg. Either ways, I will use your advice and have some script based shader which converts to different platform based shader language.

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.