|
Post by sintiklia on Jan 11, 2015 10:14:51 GMT -5
Hello! I heard information that EA will not add Simhair shader to game and said that communuty must make it if they want Simhair shader. So as hair creator( and not only me) I need this shader. I saw EA left some Simhair shader which is not finished and when I add it to my hair it looked like black gradient mesh without assigning. So is there some people who can finish that shader in Shaders_Win32.precomp and make it like shader in Sims 2( sims 2 has shader wich had not problems with tranparency issues on curls and that was no reason to sort planes in Milkshape list as in Sims 3 and now) or like in Sims 3 though... Or change some parametrs in SimGlass shader and make it like Simhair in S3 which react on alpha's density( solid white(makes no issues for braids,curls) - half transparency white). Thank you for attention.
|
|
|
Post by andrew on Jan 11, 2015 20:57:17 GMT -5
Hi sintiklia, I have looked at the information that the SimGurus gave on the shaders and have coded enough to get a preliminary analysis on what kind of effort it would take and it looks quite significant.
On top of the large complex format of the .precomp, at the end of the road there are compiled shaders (that we don't know how to decompile) for each platform embedded in the file.
The format is also very fragmented making it difficult to copy one part to another.
There are also some differences between the Sims 3 and the Sims 4 format of the .precomp file (this part I was able to get through).
Shaders don't just handle the way the materials show, they are also integral to the effects of bone weighting and morphs and texture composition. Sims 4 composes the texture maps differently and has a different morph system, so I am very doubtful that a direct copy from Sims 3 to Sims 4 would function at all.
I think that this will not be a simple project even with the information provided by the SimGurus. I have tried changing various values on the shaders and have had very limited success. There are options for alpha blending and such but they did not have the desired effects. The most change that I was able to get was to change how light reflects on sims and make them translucent. I suspect that what we actually want to modify is in the compiled part of the shaders that we cannot edit with the SimGuru information alone.
Currently my priority is advancing Sims 4 Studio and that leaves little time to pursue this further right now. If nobody else has completed it by the time work on Studio slows down somewhat, I may take another look at it. In the meantime, if there is another coder that is interested in working on it and I can help in some way, that person should let me know.
|
|
|
Post by sintiklia on Jan 12, 2015 15:12:58 GMT -5
Thank you for your reply and big answer. Looks like it is so complicated. If I will know another programmer - I will tell him(her) about this. Hope when Studio will be finished at common, someone will help with shader:) Thanks again:D
|
|