Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > CopperCube > Programming and Scripting
How to convert hlsl to glsl?
Author Text

alireza
Registered User
Quote
2022-06-11 15:08:22

Good shaders for the Windows platform, written by just-in-case. But it does not work for webgl. Is there a way to convert them? Is this difficult and complicated?


just_in_case
Moderator
Quote
2022-06-11 19:51:30

Don't know how hard it is but yeah its not that hard if you know basics of shaders even if it is in glsl or HLSL the standard formulas remains same only the syntax changes.


Alireza
Guest
Quote
2022-06-11 22:11:11

wrote:
Don't know how hard it is but yeah its not that hard if you know basics of shaders even if it is in glsl or HLSL the standard formulas remains same only the syntax changes.

Can you write one of your own shaders (eg animate texture coord) for webgl? I really need it.
(I do not know why, but my access to discord is limited)


just_in_case
Moderator
Quote
2022-06-12 15:15:24

@Alirez you don't need to use shader to animate the texture coords , there is also a behavior version of the same texture coords shader is available on my website which will animate the texcoords and I think it will work on webGL paltform too, but I am not sure, you can give it a try..


Alireza
Guest
Quote
2022-06-12 22:26:01

@just_in_case
I try it, but it dont work on webgl :((


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internat?onal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact