Jump to content

Posteffect collection


shadmar
 Share

Recommended Posts

  • 3 weeks later...
  • 3 weeks later...

Has anyone gotten this to work through C++? I thought it would be as simple as adding

 

camera->AddPostEffect("Shaders/PostEffects/00_shaders/_bloom.shader");

 

but that has no effect. I looked at the 08_pp_bloom.lua file and it seems to do a lot more things (but I'm not familiar with Lua). I tried to add all the other shaders in the top portion and that had a visible effect but not at all what I expected.

Link to comment
Share on other sites

PS! you can also control almost all post shaders, tuning values live, like DOF ranges or bloom values on the fly.

Look in the lua file, you'll se stuff like camera:GetKeyValue("dof_neardist"), this means that you can change them from anywhere in your game, just by setting keyvalue for the camera.

  • Upvote 3

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

Link to comment
Share on other sites

  • 1 year later...
  • 4 weeks later...

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...