This is where fixed bugs can be seen. Please do not post new bugs into this forum, it is purely to see what has been fixed and most topics will be locked.

Material Problem (FIXED)

Material Problem (FIXED)

Postby TattieBoJangle » 07 Aug 2015, 15:05

Hi guys I am getting a problem with the material the textures go dark its strange it only happened when I used the scale tool to set all the models in that folder to the same size then when I went back they were all dark. If need be I can do a video showing step by step what happens

Case: CM Storm Trooper CPU: I7 5930k X99 Cooler: Noctua NH-D15 Graphics: Asus GTX 1080 Motherboard: Rampage Extreme V x99 Ram: RipJaws DDR4 3000mhz Storage: x2 SSD Crucial 500GB + x5 2TB Hdd PSU: Evga 1500w OS: Windows 10
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Material Problem

Postby TattieBoJangle » 07 Aug 2015, 15:27

I removed the mesh files and done them again it has got something to do with the alpha if I set it to alpha reject it just goes dark and also it messes with the shadows video uploading.

Case: CM Storm Trooper CPU: I7 5930k X99 Cooler: Noctua NH-D15 Graphics: Asus GTX 1080 Motherboard: Rampage Extreme V x99 Ram: RipJaws DDR4 3000mhz Storage: x2 SSD Crucial 500GB + x5 2TB Hdd PSU: Evga 1500w OS: Windows 10
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Material Problem

Postby StarFire » 07 Aug 2015, 15:42

There is a small issue with the shader and scale, anything scaled can have an issue with shadows which is what you are seeing here. Best solution is to bake your scale to mesh to the correct scale ( "bake button" in the translation panel) so that the engine sends the correct coord to the shader.
Small scale adjustment errors are not noticeable but the size change you used will introduce shader errors. We hope some day to be able to get around this :roll:
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Material Problem

Postby SolarPortal » 07 Aug 2015, 16:00

the alpha reject initialises a double sided feature of the material as most meshes that have alpha want to see the texture on the other side like a single sided plane for a leaf. This of course though has problems if there actually is another mesh on the flip side as it will try to shadow itself. i think this is what you are seeing. I feel we need an option for double sided in the material editor.

To help prove this, first save the material with alpha and then try and open the material file in a text editor and look for all instances of this line:
Code: Select all
cull_hardware none

use ctrl+f to find in a text editor and replace with this commented version.
Code: Select all
//cull_hardware none


Then save and reload the material by regenerating the material in the asset manager or reboot skyline.

If the mesh comes in correctly like when there is no alpha material applied, except there should be alpha for your walkways etc...

let us know how this turns out ;)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Material Problem

Postby StarFire » 07 Aug 2015, 16:10

On a side note we are going to add a double sided flag to the material editor.
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Material Problem

Postby TattieBoJangle » 07 Aug 2015, 16:47

let us know how this turns out ;)


Yea that didn't work lol so I just turned off cast shadows so that will do for now :lol:
Case: CM Storm Trooper CPU: I7 5930k X99 Cooler: Noctua NH-D15 Graphics: Asus GTX 1080 Motherboard: Rampage Extreme V x99 Ram: RipJaws DDR4 3000mhz Storage: x2 SSD Crucial 500GB + x5 2TB Hdd PSU: Evga 1500w OS: Windows 10
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Material Problem

Postby SolarPortal » 07 Aug 2015, 17:39

thanks for testing :) so it is shadow related. Has the mesh got a plane on the opposite side of the road really close together? as this might cause it to self shadow as well.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Material Problem

Postby TattieBoJangle » 07 Aug 2015, 17:54

Just had a look and you are right :oops: going to send you a pm
Case: CM Storm Trooper CPU: I7 5930k X99 Cooler: Noctua NH-D15 Graphics: Asus GTX 1080 Motherboard: Rampage Extreme V x99 Ram: RipJaws DDR4 3000mhz Storage: x2 SSD Crucial 500GB + x5 2TB Hdd PSU: Evga 1500w OS: Windows 10
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest