About Store Forum Documentation Contact



Post Reply 
shadowSoft() does not work anymore
Author Message
tipforeveryone Offline
Bronze Supporter

Post: #1
shadowSoft() does not work anymore
I am trying Titan Engine Source build, but D.shadowSoft() has no effect at all. Whatever value I put in. Is there something changed about this function in source build ?
03-07-2024 09:57 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: shadowSoft() does not work anymore
It works fine. Please try again.
03-07-2024 11:22 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #3
RE: shadowSoft() does not work anymore
I dont think so, let see these images,

first one is my game on current stable titan engine version, that is soft shadow I expect
https://i.gyazo.com/57b870d5f9d821e3c3a8...6e674a.png

and this one is on source build engine version
https://i.gyazo.com/4c150389706a4bc995a7...ddcadb.png

both use D.shadowJitter(true) and D.shadowSoft(5). Both version have identical code.
The second one seems only be appied jitter, not shadowsoft, because I can see those "gird shadow" around thicker shadow area.

In source build version, wherever I put D.shadowSoft(5), nothing changes
(This post was last modified: 03-07-2024 12:26 PM by tipforeveryone.)
03-07-2024 12:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: shadowSoft() does not work anymore
I will check when I'm back home in 1-2 days. However please make sure you ran all steps in engine builder :
Compile engine
Copy headers
Copy engine pak
Compiler editor
03-07-2024 12:25 PM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #5
RE: shadowSoft() does not work anymore
Yes, I double check all checkboxes in Engine Builder, everything is checked as default, and I just click do "selected"
03-07-2024 12:49 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: shadowSoft() does not work anymore
Hello,
I came back,
Checked in Editor and in my Game, however I don't have this problem.
03-09-2024 03:51 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #7
RE: shadowSoft() does not work anymore
I still cant find solution for this shadow problem of source build version (changing shadow settings, rearange code order etc)

The shadow looks terrifying. Same machine, 2 results, how can this happen?

Source build:
https://i.gyazo.com/e95a75c5ad2f5f4e51e5...3a723d.png

Current binary build:
https://i.gyazo.com/5647334cd2ea97ff09dc...d46fdb.png

Sadly I know you dont have this problem on your game, your machine, but is this hopeless for my game with source build ?

I sent my project via private message weeks ago, Hope you can find out what was wrong.
(This post was last modified: 08-13-2024 12:53 AM by tipforeveryone.)
08-13-2024 12:51 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #8
RE: shadowSoft() does not work anymore
I found the problem! This is because of D.samples() with input value higher than 1
Here is the video in editor of latest source build. Please view with 1080p on computer. It is hard to see on mobile, current binary build does not have this

https://www.youtube.com/watch?v=Xwb4iYDgqZ4

Hope you can reproduce this!
(This post was last modified: 08-26-2024 09:51 PM by tipforeveryone.)
08-26-2024 09:45 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: shadowSoft() does not work anymore
Thank you, I'm able to reproduce the problem with multi-sampling, I will check more.
Generally you don't need multi-sampling (it's slow), just use TAA
08-27-2024 03:10 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #10
RE: shadowSoft() does not work anymore
08-27-2024 05:06 PM
Find all posts by this user Quote this message in a reply
Post Reply