cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

zqueezy
Journeyman III

tessellation evaluation shader texture2D

bug?

heyhey,

I wanted to ask if anybody can confirm this behaviour... I have a tessellation evaluation shader (glsl) and do a texture2D in there (for displacement mapping).

The compiler tells me 'No matching overloaded function found texture2D'.

Is there no texture access in this type of shader or did I do something wrong? I'd like to spare you my 400 lines shader (which works on NVIDIA card).

 

also I'm using 11.4 Catalyst on a Radeon 5870 Mobile

thanks

 zqueezy

 

PS: I checked google and 'no' my

texture2D( u_sampDisplacement, vec2( vTexCoord.xy ) )

call has no local variable u_sampDisplacement and also vTexCoord.xy or vTexCoord (which is vec2) does not work

0 Likes
1 Reply
zqueezy
Journeyman III

Ok. I solved it. Short answer: rtfm.

texture2D is now texture

hope it helps somebody...

thread can be closed, sorry for inconvenience

0 Likes