Jump to content

Skybox


drakth
 Share

Recommended Posts

Hi everyone,

 

Im trying to add a skybox to the default FPSPlayer.lua script.

 

As it says at this webpage:

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/camera/camerasetskybox-r824

 

However when i add the line:

Texture* skybox = Texture::Load("Materials/Sky/skybox_texture.tex");

 

It gives me this error:

'=' expected near '*'

 

If i remove the * then gives me another error and so on... any help?

 

Thanks.

 

Ok, on the link at my OP, the section of LUA contains C++ code and viceversa.

 

Someone should fix that :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...