Jump to content

SetVec3,SetVec4 --> const Vec3/4 expected..


shadmar
 Share

Recommended Posts

SetVec2 works ok..

 

How to reproduce :

 

self.shader=Shader:Load("Shaders/Lighting/directionallight.shader")
self.shader:SetVec4("ambientlight",1,1,1,1)

 

Also tried :

 

self.shader=Shader:Load("Shaders/Lighting/directionallight.shader")
self.shader:SetVec4("ambientlight",Vec4(1,1,1,1))

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...