Skip to main content
added 18 characters in body
Source Link
Kromster
  • 10.7k
  • 4
  • 54
  • 67

Difference between texture"texture" vs texture2d"texture2d" in opengl esOpenGL ES?

I see many example in shadertoy use texturetexture, but in the cocos2d-x, only texture2dtexture2d.

Does texturetexture use normalized coordinate and texture2dtexture2d doesn't? 
Because iwhen I use texture2dtexture2d, it returns wrong result.

Difference between texture vs texture2d in opengl es?

I see many example in shadertoy use texture, but in the cocos2d-x, only texture2d.

Does texture use normalized coordinate and texture2d doesn't? Because i use texture2d, it returns wrong result

Difference between "texture" vs "texture2d" in OpenGL ES?

I see many example in shadertoy use texture, but in the cocos2d-x, only texture2d.

Does texture use normalized coordinate and texture2d doesn't? 
Because when I use texture2d, it returns wrong result.

Source Link
TomSawyer
  • 243
  • 3
  • 9

Difference between texture vs texture2d in opengl es?

I see many example in shadertoy use texture, but in the cocos2d-x, only texture2d.

Does texture use normalized coordinate and texture2d doesn't? Because i use texture2d, it returns wrong result