Page 3 of 3 FirstFirst 123
Results 41 to 47 of 47
  1. #41
    Member Akira_San's Avatar
    Join Date
    Aug 2004
    Location
    Bulgaria
    Posts
    1,888
    Shaders are faster, when they are cached. that means, that you gonna have to add the shader to the sourcecode or (c++ and glsl part.)
    anime, manga, blender3d



  2. #42
    Hello! i used a bunch of code from this project and made some screen space raytraced global illumination in the bge.

    raytraced.png

    Also: glossy reflection using a Cook-Torrance BRDF

    glossy_01.png

    No importance sampling just yet but i'll get to work on it when i get the time. (i will probably switch over to the Blinn BRDF, which already has simple expressions for importance sampling).



  3. #43
    I've been having some fun learning to derive all of the formulas used in importance sampling. And even though this particular filter is becoming useless soon, i think it was worth it; it was hell of a lot of fun.

    By the way, you have to add three properties to the object to which you add this filter: a float called "roughness" (use the range -1 to 1), a float called "reflectance" (use the range 0 to 1) and an integer called "rays" (1 or higher should be fine).

    Anyways. New shiny update. I hope someone manages to get some use out of this.



  4. #44
    Member
    Join Date
    Dec 2016
    Location
    Germany
    Posts
    1
    it doesn't work for me somehow. It just darkens the object edges...
    I tried tweaking your code, but your code doesn't seem to be the problem.
    Any suggestions?



  5. #45
    Originally Posted by 6ooflame View Post
    it doesn't work for me somehow. It just darkens the object edges...
    I tried tweaking your code, but your code doesn't seem to be the problem.
    Any suggestions?
    if you upload a blend file with the issue i can take a look at it and tell you what's wrong



  6. #46
    Yey i just remade this thing from scratch. it's slow af. but it looks pretty. so yeah.



  7. #47
    Member Valentinas's Avatar
    Join Date
    Jun 2013
    Location
    Lietuva
    Posts
    97
    ouh boy can't wait for half-life 2 remake on this engine. I think water shader is also made for bge, so only thing left is to add half-life assets models, animations and PHYSICS of ragdoll at least.
    Hλlf-Life 2
    I own copy of Half-Life on steam and have big collection of BGE shaders and projects of other sort of creations

    Unrealistically thinking I bet I could put indoor prison scene without flying alien bugs in 7 hours
    Last edited by Valentinas; 21-Feb-18 at 06:18.



Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •