Temechon Posted June 3, 2014 Share Posted June 3, 2014 Hello everyone, I'm trying to build a new glass shader with the lastest babylon version. Is there a documentation somewhere describing all the 'predefined' functions that can be used in a vertex and fragment shader ?For example, the method 'texture2D' can be used, but not the method 'textureCube'... The method reflect can be used, but not the method 'refract' Thank you for your help ! Cheers, Quote Link to comment Share on other sites More sharing options...
Temechon Posted June 3, 2014 Author Share Posted June 3, 2014 Nevermind, I think I found something interesting (on page 4) http://www.khronos.org/files/webgl/webgl-reference-card-1_0.pdf gwenael 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 3, 2014 Share Posted June 3, 2014 You're right Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.